Android Question GoogleMap with center on user location

Pablo Torres

Active Member
Licensed User
Longtime User
Hi, I'm trying to make an app that when you start it shows you a google map centered on the user location and put markers in the places near that location. I have a sqlserver online with the places (lat/long) and I made a webservice where I send the user location and it returns the 20 nearest places (lat/long), so... I succed on everything except on getting the user location, I am unable to get that data before using the map and I need it (to center the map and make the cal to the ws)

Can anyone help me with this?

How can I get the lat/long of the user when he starts the app?

Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…