How to detect Android version and brand via webkit browser and is it reliable?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe you could check for the user agent.
However, I don’t think it’s safe since there are many method that one can use to spoof the user agent.
Searching Google on that issue gives us lots of answers on that. It works even on the default browser… you just type “
about:debug” as address, and then a debug optionUAStringcomes up in the settings, allowing you to change that to iPhone and other stuff.Of course, with a proper 3rd party app, I’d guess the sky is the limit.
*edit: my Nexus S shows this as of now: