Android Compatibility Lib + Google Maps Hack
- from Massimiliano Leone (second version improved) -
- fixed bug in FragmentManager, using patch from ActionBarSherlok details
- added MapFragment (inspired by Pete Doyle sample, with some improvements)
providing also "build-splitted.xml": it allows to compile distinct jars, "core" and "maps":
"core" is original compatibility library with petedoyle,9re and my modification needed in order to have eventually maps support;
"maps" includes classes for maps support: FragmentMapActivity, MapFragment, and so on.
This split can be useful if you want have a compliant maps support library but you don't want add maps support to your project, because you don't still need it (but in a future version, you should do)
- from Taro Kobayashi fork (second version) -
Not as Doyle version, where FragmentActivity inherits from MapActivity, here we have FragmentMapActivity inheriting from MapActivity.
More interesting details here:
- from PETE DOYLE's Readme (first version) -
For pre-compiled .jar files, visit the Downloads page.
You can build the jar using Ant:
git clone git://github.com/petedoyle/android-support-v4-googlemaps.git cd android-support-v4-googlemaps ant
The default Ant target will build the jar and place it in the
Alternatively, the source also includes an Eclipse project which you can use to add it as a build dependency for your project. Import it into Eclipse using
File > Import > Existing Projects into Workspace..., then configure the build path of your project to require the
March 28, 2012
New release based on r7 of the Android Compatibility Library.
December 16, 2011
android-support-v13-r6-googlemaps.jar based on revision 6 of the Android Compatibility Library. This also includes a fix for Android bug #22226.
This also includes the additions from Google's r5 release. For the changelog of what changed in ACL r5 and r6, see http://developer.android.com/sdk/compatibility-library.html.
October 27, 2011
android-support-v13-r4-googlemaps.jar based on revision 4 of the Android Compatibility Library. This release, like the official release from Google, splits the ACL into two jars (v4 and v13). The v13 jar contains all the v4 classes plus the classes in the
For the changelog of what changed in ACL r4, see http://developer.android.com/sdk/compatibility-library.html.
July 22, 2011
android-support-v4-r3-googlemaps.jar based on revision 3 of the Android Compatibility Library (see downloads).
FragmentStatePagerAdapter are also included from the new
May 24, 2011
android-support-v4-r2-googlemaps.jar based on revision 2 of the Android Compatibility Library (see downloads).
Currently, one downside is that ALL classes extending
MapActivitys. Its possible to make a separate class (i.e. FragmentMapActivity), but it requires some refactoring of the FragmentActivity code.
Feel free to file a bug to request it or fork this project to fix it.
Need help? Check out this project's Google Group.