Monday, February 7, 2011

[android-developers] Re: Honeycomb SDK

Yes I hope they will fix that for the final Honeycomb SDK, because
currently I need to recompile for either

<uses-sdk android:minSdkVersion="4"/>
<uses-sdk android:targetSdkVersion="Honeycomb"/>

giving me the conventional (Android 2.3-) phone appearance in the
Honeycomb emulator, or

<uses-sdk android:minSdkVersion="Honeycomb"/>
<uses-sdk android:targetSdkVersion="Honeycomb"/>

for the holographic appearance in the Honeycomb emulator. What I want
of course is to have one APK that is backward compatible to (in my
case) minSdkVersion="4" and that shows the holographic UI on tablets
or phones that run Honeycomb. I do not need to change anything in my
code but these manifest changes to get there, so it is very
inconvenient to forbid <uses-sdk android:minSdkVersion="4"/><uses-sdk
android:targetSdkVersion="Honeycomb"/> when aiming to get the
holographic appearance on Honeycomb devices and the conventional
Android 2.3- UI on non-Honeycomb devices.

On Feb 7, 8:54 am, Marcin Orlowski <webnet.andr...@gmail.com> wrote:
> On 7 February 2011 00:57, midtoad <stewart.midwin...@gmail.com> wrote:
>
> > You will then get the Honeycomb Holograph them and your app will have
> > an updated look and feel.
>
> http://developer.android.com/sdk/preview/index.html
>
> "Android 3.0 offers an updated set of UI widgets that are redesigned
> for use on larger screens such as tablets and incorporate the new
> holographic theme. Your existing application can inherit the new
> design simply by setting the <uses-sdk> element's
> android:targetSdkVersion attribute to "Honeycomb".
>
> If you do not update the android:targetSdkVersion attribute and the
> android:minSdkVersion is set to "9" or lower, then your application
> uses the widget designs from Android 2.3 and does not inherit the
> holographic theme."

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