Re: [android-developers] Re: How to detect tablet devices
In fact, you really shouldn't think "target a tablet." What does "tablet" mean? You will quickly find that this is an incredibly nebulous term.
Target screen size: adjust your UI for xlarge (or large).
Target other specific hardware aspects that make sense for you (does it have a hardware keyboard? Phone radio? Etc).
--
Dianne Hackborn
Android framework engineer
hackbod@android.com
Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.
-- On Wed, Feb 16, 2011 at 2:27 PM, String <sterling.udell@googlemail.com> wrote:
As a first approximation, if the device vendor has chosen to go with large (or xlarge) screen size, then it's a tablet. I know, other devices (like netbooks and Google TV) will also get picked up by this, but that's why I called it a first approximation.To detect this in code, take a look at this blog post: http://blog.alsutton.com/2010/12/07/android-tablet-phone-uis-in-one-apk-how-to/.String--
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
--
Dianne Hackborn
Android framework engineer
hackbod@android.com
Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.
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