

The detailed process of creating a new Android application that uses the Google Maps Android API v2 requires several steps. How to Install the Google Maps 2.0 environment

Google Maps Android API v2 example: detect MarkerClick and add Polyline.Course book section on Mapping with MapView page 817.Instructions to do this are given Step 2 below. These apps will not work if you do not do that. Note, that when you download the i_am_here.zip and coventrydemo.zip demo apps you will need to replace the Google MAP API key in the Manifest (which is mine) with your own key. These two apps will provide the necessary background to implement maps for ( Lines can be drawn between markers using polylines.

The Coventry demo is take from here: detect MarkerClick and add Polyline The app detects long click on map and adds a marker. A polyline is a list of points, where line segments are drawn between consecutive points. We also use the coventrydemo.zip app which allows the user to interact with the map by placing markers on the map and then connecting up the markers with polylines drawn on the map.This app can track you as you move around and put a marker on the map of your current location. We will use the i_am_here.zip app to demonstrate how to display a single map and update it as we move.The demo code used in this lecture include:

