Android phone or Android tablet detection by http headers
问题 Is there a way to detect whether user is accessing your website from android powered tablet or phone on the server side? I don't own any android devices, so it's not possible for me to test what kind of headers those devices send. In my research I found: - many ways to detect it using javascript. But thats (IMHO) not the best moment, when you decide what web version should be sent to client. I prefer to server each version based on http headers sent by client. - database of http headers