This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Android and the fly likes How to get latitude and longitude of a location which user clicked on it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to get latitude and longitude of a location which user clicked on it" Watch "How to get latitude and longitude of a location which user clicked on it" New topic
Author

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

s sargazim
Greenhorn

Joined: Feb 19, 2013
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 41574
    
  54
What kind of a "map" is this the user clicks on? Some component in your app? Some standalone app like Google Maps? Something else?


Ping & DNS - my free Android networking tools app
s sargazim
Greenhorn

Joined: Feb 19, 2013
Posts: 2
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get latitude and longitude of a location which user clicked on it