Voting: 
Vote up!
0 Votes
1 Replies
Unanswered

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
Tags:
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; 
             //#endif

Let me know if this is what ur looking for?

Answered by: Feb 27, 2017 08:30 EST