Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Distinguish between Tablet and Smart phone on ICS

I understand that by default (pre ICS), to distinguish between a Tablet & Smartphone, a developer can use the sdk version in the Android Manifest (apart from screen size and openGL filters). Now with ICS running on both SP and Tablet, what options does a developer have in case I need to distinguish between SP and Tablet?

I don't think screen size is reliable.

Lets say for certain reasons I cannot have a common apk for SP and Tablet. I would also like to avoid a separate application for Tablets and SP

like image 569
AAP Avatar asked Dec 07 '11 09:12

AAP


People also ask

What is the difference between smart phones and tablets?

Tablets have much larger screens than smartphones. Smartphones are more portable than tablets. Smartphones have call and SMS functionalities while many tablets do not. Some applications may only run in tablets and not smartphones.

What are the differences among smartphone and tablet and laptop?

While smartphone and tablet have 3G connectivity, laptop lacks it. Laptop is most superior when it comes to serious computing, while tablet provides enriching experience while enjoying multimedia files and playing games.

Is a tablet can use as a phone?

Tablet calling is easy Once you've established an internet connection, you really need only two things to make your tablet function as a smartphone: an app that makes use of VoIP (Voice over Internet Protocol) or VoLTE (Voice over LTE) wireless calling technology, and a pair of headphones.

Is tablet an android?

It boils down to this: An Android tablet is a touch-screen, mobile device that runs some version of the Android operating system on it. And it's not a smartphone, though with the right software and hardware you might be able to make calls over Wi-Fi networks using one.


1 Answers

The only significant differences between tablets and phones are, in general, screen size and the presence of telephony capabilities, plus the fact that phones will generally have mobile data while tablets may be wifi-only. With ICS, the software running on the two classes of device is basically the same, so the only interesting distinguishing features are these points. If a device has a screen big enough for your app and provides all the required capabilities, does it matter if it's a phone or a tablet?

I'd say that screen size is exactly what you should be filtering on. It's not 'phone version' and 'tablet version' so much as 'little screen' and 'big screen'.

like image 105
Matthew Walton Avatar answered Sep 28 '22 22:09

Matthew Walton