Reliable way to tell if running on phone or tablet for Android?


#1

Hi, is there anything conclusive that can be tested for this info? thx


#2

There’s no good, explicit, way… You could check the resolution, or use android.telephony.TelephonyManager.getPhoneType() to know if there’s a phone service installed.


#3

thx - figured as much, but just thought I’d check!