The new Fragments API, which is part of Honeycomb, does not help developers whose applications target earlier versions of Android.
Today Google have released a static library that exposes the same Fragments API (as well as the new LoaderManager and a few other classes) so that applications compatible with Android 1.6 or later can use fragments to create tablet-compatible user interfaces. it’s called “Android Compatibility package”.
This library is available through the SDK Updater.
Source:
- http://android-developers.blogspot.com/2011/03/fragments-for-all.html
To install the in your existent Eclipse with ndroid SDK, click Window Android SDK and AVD Manager, select Available packages on the left.

No comments:
Post a Comment