This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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
Posts: 42968
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic