The first step is to create a library project, the second to create your own project that will use the action bar, and the third step allows you to use the map plugin.
I - ActionBar SHerlock Project:
II - Your project:
- create your own project that uses the Action Bar control panel
- install Android Build Target on> = Android 4.0 (choose the same goal than the previous project!)
- set the manifest using "android: minSdkVersion =" 7 "android: targetSdkVersion =" 16 "
- add the previous project "ActionBarSherlock" as a library: Project> Properties> Android> Add ... (bottom panel)
- Modify your code to use ActionBar classes
III - Use the actionbarsherlock-plugin-maps-4.1.0.jar plugin in the Sherlock Action Bar:
- add actionbarsherlock-plugin-maps-4.1.0.jar (obtained from the zip file) to the "ActionBarSherlock" project in the libs directory
configure the project: project> properties> build path> Librairies:
- add actionbarsherlock-plugin-maps-4.1.0.jar
set the build target in the Google Maps API> 4.0 (do the same for your project - the same goal!)
- add the actionbarsherlock-plugin-maps-4.1.0.jar library to the path for creating new projects.
Hope it works for you too.
source share