ahand / mobileesp

MobileESP
Apache License 2.0
173 stars 77 forks source link

Android: AOSP Browser vs Chrome #1

Closed gaia closed 9 years ago

gaia commented 9 years ago

Does mobileesp include a way to tell android users on the stock android browser from android users using Chrome?

Thanks

ahand commented 9 years ago

Hi, Gala --

It's outside the scope of MobileESP to distinguish between browsers generally. (Except where certain browsers misbehave, like Opera...)

There is a general DetectAndroid() method, plus several others. Check the API for more info.

One of the challenges with sniffing useragent strings on Android is that the handset manufacturer can set the string as desired. Most make good decisions most of the time, but some manufacturers make very bad decisions.

Good luck! Anthony