0

first i would love to thank you for help me,i am develop the android application that contain 3 activities one of them is map.i am using google maps

what i want : 1- when the user open the activity (map) it shows the user her location not the coordinate 2- the user also can be able to positing(pining) any place by using pin and my app must store the coordinates for this pin in variable so i can use it later. PlEASE HELP ME

1 Answers1

0

You should first obtain the user latitude and longitude. Then use the GeoCoder to obtain the address.

You have the complete code here , https://stackoverflow.com/a/3145655/563306

Community
  • 1
  • 1
dcanh121
  • 4,665
  • 11
  • 37
  • 84
  • i try it but when i install the application in my mobile it is give me message "the application is topped unexpectedly" –  Mar 08 '12 at 08:02