Android Programming Tutorials

(Romina) #1
Here a Post, There a Post

Figure 40. The StatusMap, showing a Toast of the status update associated
with the location

Extra Credit...............................................................................................


Here are some things you can try beyond those step-by-step instructions:



  • Support other map perspectives, such as street view or terrain
    mode.

  • Allow the user to control the initial zoom level via a preference.

  • Enable the compass rose, via MyLocationOverlay.


Further Reading........................................................................................


Integration with Google Maps is covered in the "Mapping with MapView


and MapActivity" chapter of The Busy Coder's Guide to Android


Development.


243
Free download pdf