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 collected and sorted by device type. But can I rely on this? Also there are paid solution that can be more realibe, but I prefer free solutions.
Is there any other solution? Can you recommend one? And why?
See Question&Answers more detail:os