Wednesday, August 10, 2011

Re: [android-developers] Re: Multiple APK support - Who's tried it?

On Wed, Aug 10, 2011 at 9:15 AM, mort <mort@sto-helit.de> wrote:
> But show me how to support Android 1.5
> (or even earlier) and Honeycomb features (Action Bar, Fragments, ...)
> in one apk without going insane with reflection, different classes,
> and so on.

Ignore Android 1.5 for new development. Use the Android Compatibility
Library for fragments. If you stick with just toolbar buttons and the
standard options menu, the action bar is completely backwards
compatible without any version-specific Java code. Use the multiple
APK support to ship your current 1.5-compatible APK as-is to 1.5
devices.

> And so far, there are still about as many 1.5 devices out
> there as Honeycomb tablets

However, there are more Honeycomb tablets being sold today than new
1.5 devices, and there will be a slight uptick in Honeycomb once the
oft-delayed Android Market support for Google TV arrives. As a result,
1.5 is trending downward and will probably fall below 1% in the next
4-6 weeks.

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

Android Training...At Your Office: http://commonsware.com/training

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