Thursday, September 22, 2011

[android-developers] Re: How to determine if device is_tablet

Well, you can check if the resources configuration has the
ScreenLayout_xLarge

I think all the tablets 3.0 have this config turned on.

Only the old small samsung tablet doesnt have it, but you can give it
a try.

On Sep 20, 11:38 pm, Pete <g...@elusivestars.com> wrote:
> Currently I determine if a device is a tablet by checking screen size.
> If size > X then = tablet.
>
> Is there a better or more robust way to determine a device is a
> tablet?
>
> Thanks

--
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

No comments:

Post a Comment