On Tue, Feb 22, 2011 at 4:30 AM, Varun Tewari <[email protected]> wrote:
> We have some applications already in android market. We have managed to
> support Motorola Xoom and Galaxy Tab2 for some of them. I was just wondering
> how i can publish my applciation as our existing application have 1.6 nd
> onwards support. So my application is already visible for XOOM and Tab2.
> What should i do to have one build for all Phone Devices and one for Tablet
> Devices? But for Tablet i just want to see the Tablet Build. As two builds
> can be confusing to User. How can i achieve this with out changing
> Application Name?

You can't, AFAIK.

Android will always support upsizing an app to larger screens. It will
not support downsizing an app to smaller screens.

Hence, you can create a tablet-specific app by saying you only support
xlargeScreens (and maybe largeScreens) in <supports-screens>. Phones
will not see this app, since Android will not downsize it to small and
normal screens. However, if you *also* have an app that works for
phones, tablet users will see that app as well, since a phone app can
be upsized to tablet screens.

So, you can:

-- Have only one app that dynamically configures itself (which is the
point behind fragments, and why we're all hoping for the fragments
backwards-compatibility library that Ms. Hackborn is working on)

-- Have two apps, where the phone app doesn't look silly on a tablet,
but where the tablet-specific version is substantially different
(e.g., more features and paid versus an ad-sponsored free app for all
sizes)

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.4 Available!

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