Yes, you can have either multiple APKs, or you can have a single APK that delivers its layout based on the version of Android being used.
For the multiple APK support of the market, see here: http://android-developers.blogspot.com/2011/07/multiple-apk-support-in-android-market.html And for the logic behind delivering one layout for xlarge screens vs. smaller sizes, a good app source cose to look at is the Google IO app: http://code.google.com/p/iosched/source/browse/ A good activity to start with is the ActivityHelper.java file in the util directory. Regards, Peter On Aug 3, 2:05 pm, Neilz <[email protected]> wrote: > Nikolay - thanks for the response, though you've confused me a > litle... Do you have a single APK or multiple? Or is it a choice, if > so which is best practice? > > Are you saying that when I create the app in the market, I can provide > different APKs to target different devices, which are all managed > under the same app heading? > > On Aug 3, 12:57 pm, Nikolay Elenkov <[email protected]> wrote: > > > > > > > > > On Wed, Aug 3, 2011 at 5:46 PM, Neilz <[email protected]> wrote: > > > Am I correct in assuming that if I want an app that is developed for > > > Tablets using Fragments etc, that this has to be a separate app to one > > > designed for standard devices? > > > No. You can have a single APK that works on both. Use the > > compatibility library to get fragment support on pre-3.0 devices. > > You can have different layouts based on screen size and/or > > Android version. > > > > If so, how does this work for the market? If my client says, we want > > > our new app to fit standard devices but also have a specific version > > > for tablets, would this mean creating two apps with two market uploads? > > > You can now have multiple APKs targeted at different devices. -- 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

