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


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


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.


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