Important! A new Community experience launched on September 26, 2017. Read more about it here or continue to Base Camp.
Vote up!
0 Votes
1 Replies

How to determin if Android device is a tablet

Question asked by Roelof Koelewijn on Feb 27, 2017 05:59 EST

Hi, I would like to know if the Device where the APK is running on is a tablet. Is there a way to determin this?

Posted In
Kony Inc Kony Studio
Kony Answered Certificate
Vote up!
0 votes
Vote down!

We have used the #ifdef for getting the device type like :

            var flag=false; 
             //#ifdef tabrcandroid 
                   flag= true; 

Let me know if this is what ur looking for?

Answered by: Feb 27, 2017 08:30 EST