Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get latitude and longitude of a location which user clicked on it

 
s sargazim
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to get latitude and longitude of a location on map which user has clicked on and do some calculation on them.
BTW I shall say that I'm working with emulator and I don't have access to mobile phone and I have to run it in emulator.
Please help me what to do!
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of a "map" is this the user clicks on? Some component in your app? Some standalone app like Google Maps? Something else?
 
s sargazim
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:What kind of a "map" is this the user clicks on? Some component in your app? Some standalone app like Google Maps? Something else?



It is Google Map. I'm going to use GPS and get latitude and longitude of a location on the map which user has clicked on. In android with java project how can I do that?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic