sniffr icon indicating copy to clipboard operation
sniffr copied to clipboard

android tablet detect

Open samkuhn opened this issue 9 years ago • 1 comments

Is there any way to distinguish between a phone or tablet on android?

samkuhn avatar Dec 23 '15 18:12 samkuhn

Looks like there is no general way to do this based on the user agent string http://stackoverflow.com/questions/7173642/detecting-whether-android-device-is-a-phone-or-a-tablet-with-javascript

Also the line between a "phone" and "tablet" is quite blurry and subjective http://stackoverflow.com/questions/5832368/tablet-or-phone-android, one approach can be to try to look at the screen size.

I will try to investigate further whether something can still be done.

amoilanen avatar Dec 25 '15 19:12 amoilanen