- Richard Shakour
- PowerServer Mobile (Obsolete)
- Monday, 30 March 2020 06:25 PM UTC
I was wondering if anyone has come up with a reliable way to determine if a PB Mobile app is running on a Tablet or a Mobile Phone running on Android.
With IOS that is quite easy since you can of_getdevicetype function in eon_mobile_deviceex object and use the definition from that function as it returns a limited set of devices (iPhone, iPad etc.)
But with Android it returns the name of the device i.e. Pixel 2 etc. etc.
I want to find a way to determine on an Android device if it is a Tablet or Phone because the App behaves differently depending on the screen size.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.