Mapping with Google APIs in Android, Page 5
After this introduction, you are probably very excited to experiment with the mapping software and perhaps add in your own features. The entire software package is available for download from the attached references and you can simply import the project into Eclipse. From Eclipse, you can create a new Android project by selecting "Creating project from existing source" and browsing to the folder to which our sample project is decompressed.
Android's mapping APIs are simple to use and yet powerful, with direct access to Google's already popular tools. As Android continues to grow with more advanced APIs, I believe more map features will be ported to this platform as well. Here are what I can think of if you would like to give it a try:
- If you are an avid user of Google Maps, I am sure you will like its style of a draggable tool bar to control the map zooming and panning. You can go ahead and model after that user interface and functionalities. It will be an excellent addition.
- What about adding an address search functionality, just like Google Maps can do through the Web? Parsing the search results is really the key to this feature.
- There are other neat features you can include for your mapping software, e.g. Street View, Navigation, etc.
- Usually, it takes a little while for a GPS receiver to initialize when it is taken to a new location, so you might get an ANR dialog (Application Not Responding) if the wait is longer than approximately five seconds. To make your software execute smoothly without any system interruption, you should create a child thread for this purpose and allow it to communicate with the main thread through a message handling scheme.
- Download and save the entire software project
- Google Map View
- Obtaining a Maps API Key
- Android Developers at: http://developer.android.com
- Androidlet at http://www.androidlet.com
About the Author
Page 5 of 5