Archive
Archive for April, 2012
MapApp5 : MapView and Activity
06/04/2012
64 comments
Welcome to the fifth and final part of my tutorial on how to create a map app for Android without using Google™ APIs :).
Series outline:
- Series aim.
- Theory you need to know.
- App design.
- Writing a TilesManager.
- Writing a TilesProvider.
- Seeing results with MapView.
- Adding web support.
- Creating MapView in XML.
- Extra: Fuchs Maps.
______________________________________
So up until now we didn’t see any results :(, this is where everything changes :D.
In this part we’ll write three classes:
MapView: a custom view to render and manipulate the map.
MapAppActivity: the main (and only) activity for the app, mainly creates the MapView and handles activity state changes.
MapViewLocationListener : An extended LocationListener that knows how to deal with a MapView.
MapView:
First thing you should know about this view is Read more…