Re: How to detect whether it is a phone or tablet

so far no, i don't think so. but as there are no tablets with bb10 you can be pretty sure it is a phone

----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter

Re: How to detect whether it is a phone or tablet

I've thought of using the screen size to determine but I'm afraid what if BB release some kind of a smaller version of playbook like iPad mini? or do they specify the minimum screen width/height for a tablet?

Re: How to detect whether it is a phone or tablet

the playbook is a tablet, but it does not have bb10 (nor will it ever get it).

i don't think BlackBerry is going to release a new tablet any time soon, the playbook was not really a commercial success.

----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter

Re: How to detect whether it is a phone or tablet

The answer has been already given in one of the posts above i think the only difference between tablet and phone at present is the size , based on the size you present the user different ui components !!

So you can make your own utility based on size to consider it as a phone or a tablet !!

Re: How to detect whether it is a phone or tablet

Yes, if you're using the 10.2 (or any 10.x) compiler, you're app will not run on the PlayBook.

If you're using the Native PlayBook compiler (currently 2.1) you're app will generally run on the BB10 phones. I'm sure there are other differences, but for me, it was screen sizes and dialog boxes that I had to change for my apps.