Wednesday, May 8, 2013

Android Front End - Google Maps

Google maps was an integral and important part of the project. We used the maps feature for the following purposes:
Show user position
Show the closest bus stop
Plot bus routes
Show bus position
Navigate to a bus stop

We used the google maps API v2 for the project. It was more complex than the original API v1 but the maps were more interactive and feature rich as compared to the original version.
In this version, since maps are now encapsulated in the map fragment class ,we could show a map by itself on smaller screens such as mobile phones or tablets. 

Google provides many tutorials and API support online which makes implementing maps a smooth process. We did need to make a few modifications to suit our project and implement a few extra features but otherwise there is plenty of support available online.

Steps to get started (For a first time user):


  1. Download and configure the Google Play services SDK. The Google Maps Android API is distributed as part of this SDK.
  2. Obtain an API key. To do this, you will need to register a project in the Google APIs Console, and get a signing certificate for your app.
  3. Specify settings in the Application Manifest.
  4. Add a map to a new or existing Android project.
  5. Publish your application!
To get detailed information, go to:

No comments:

Post a Comment