[android-developers] MapOverlay and displaying location as an address

2012-05-09 Thread chelsjo
I am beginning to learn how to develop Android applications and I have created an app that currently brings up the user's current location on Google Maps. However I would like to extend the app in two ways: -I would like to add a MapOverlay, where it pin-points the location on the Map, I

Re: [android-developers] MapOverlay and displaying location as an address

2012-05-09 Thread TreKing
On Wed, May 9, 2012 at 1:35 AM, chelsjo chelsea.jon...@gmail.com wrote: However I am unsure what I need to include to make the Overlay item point to the current location? What do I need to include in the Activity? Look at MyLocationOverlay. This is exactly what it's for. -I would like

Re: [android-developers] MapOverlay and displaying location as an address

2012-05-09 Thread pedro242
For the Geocoder, here's a bunch of code you can use.. LocationManager locMgr = (LocationManager)getSystemService(Context.LOCATION_SERVICE); Location lastLoc = locMgr .getLastKnownLocation(LocationManager.GPS_PROVIDER); ListAddress addressList; Geocoder geo = new