Neither.  OS version does NOT have anything to do with tablets.  (This is
depressing, working on ICS there are *way* too many apps that are actually
checking API level >= 11 to indicate it is running on a tablet. :/).  Screen
density also has nothing to do with screen size.

I suggest first reading this blog post:

http://android-developers.blogspot.com/2011/07/new-tools-for-managing-screen-sizes.html

On Fri, Sep 9, 2011 at 9:32 AM, MarkG123 <[email protected]> wrote:

> OK, so how would I achieve this as a single APK?  Should I check the
> OS version API 11+ for tablets, < 11 for smartphones?  How does this
> work when the next combined OS comes out?
>
> Should I check screen density on the fly and open the correct
> activity?  Will I have problems using honeycomb controls in a
> smartphone OS?
>
> I have quite a basic app, but the activities and Holo theming stuff is
> different in the tablet version, need some guidance on how to get my
> app to the biggest potential audience...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to