Tuesday, December 6, 2011

[android-developers] Detect if the device is a tablet or phone

Hi,

Is there any way to check if the device you have is a tablet or
phone? I had a look at these links:

1. http://groups.google.com/group/android-developers/browse_frm/thread/d6323d81f226f93f/21832ce68c4e9314?lnk=gst&q=tablet#21832ce68c4e9314

2. http://stackoverflow.com/questions/5832368/tablet-or-phone-android

I am told that checking for SDK version as is given in the second
link is not right since some tablets support Gingerbread. Is the
screen size>=6 as is given in the first link the correct way to check
if the device is a phone or tablet?

Thank you,
B.Arunkumar

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate