Quantcast
Channel: Опыт пользователя и дизайн
Viewing all articles
Browse latest Browse all 360

How to distinguish phone vs. tablet

$
0
0

Hello,

I'm trying to find the best known methods for distinguishing a tablet from a phone.

We recently discovered that a Tablet device (Thundersoft Bamboo) was getting a phone version of an App in the Google Play store instead of an alternate version more suited for tablets. After contacting the ISV we learned that the reason was that they distinguish a phone from a tablet based on screen properties. Specifically for the Bamboo:

getResources().getConfiguration().screenLayout  =  Configuration.SCREENLAYOUT_SIZE_NORMAL

Which they equate to being a phone.

Are there other methods that we can recommend to distinguish between a phone and a tablet that are not based on screen checks?


Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>