Introduction
This repository contains a number of projects that will help you get up to speed with Google Maps v2 on Android with ActionBarSherlock 4.3.1
It contains the following folders :
- GoogleMapsV2SkeletonV11 (Skeleton project targetted at API level 11 and higher)
- GoogleMapsV2SkeletonV8 (Skeleton project using Support Library targetted at API level 8 and higher)
- GoogleMapsV2WithActionBarSherlock (the complete sample application)
- ActionBarSherlock (The ActionBar we all love, available in this repository for your convenience.)
- google-play-services_lib (The Google Play Services lib, available in this repository for your convenience.)
Tutorial
The tutorial guides can be found in the docs folder of this project. The sample application is part of a 6-part tutorial covering
Part 1 : Setting up the Maps component with ActionBarSherlock
- Setup a skeleton project
- Add the ActionBarSherlock and GooglePlayServices libs
- More
Part 2 : Drawing on the Map - Markers and polylines
- Adding markers
- Highlighting markers
- Removing markers
- Marker Management
- Custom Icons / InfoWindows
- Polylines
- More
Part 3 : Animating the Map
- Animate through a set of markers on the map
- More
Part 4 : Migrating from v1 maps to v2 maps
- Some tips and tricks for migrating your old v1 apps to v2
- A rundown of all the changes
- More
Part 5 : Using Google APIs - Directions and Places API
- Use Google Places Autocomplete API
- Use Google Directions API
- Putting everything together
- More
Part 6 : Common errors / mistakes when using the Maps API
- Failing to provide the correct permissions
- Failing to provide an API key entry
- Providing an invalid API key
- Using an Activity to launch a map on lower SDK levels
- Using a SupportMapFragment in an Activity
- Using a MapFragment in a FragmentActivity
- More