Question for Android devs

WAslayer

Honorary Master
Joined
May 13, 2011
Messages
12,518
Reaction score
13,125
Location
Cape Town
If there are any devs familiar with Android app creation, in a bit of a pickle and could use some help..

I am building an app and there is a specific feature that relies on having the maps location of a place to do something based on your phone's proximity to said place..

So from my app, you need to add the place's location, which is fine cause I can launch Google maps from the app so users can do the search, trouble is, Google maps no longer seems to provide a reliable way to get co-ordinates from the maps app..

Not sure how to proceed from here, other than integration with the Google maps API, which is not free..
 
If there are any devs familiar with Android app creation, in a bit of a pickle and could use some help..

I am building an app and there is a specific feature that relies on having the maps location of a place to do something based on your phone's proximity to said place..

So from my app, you need to add the place's location, which is fine cause I can launch Google maps from the app so users can do the search, trouble is, Google maps no longer seems to provide a reliable way to get co-ordinates from the maps app..

Not sure how to proceed from here, other than integration with the Google maps API, which is not free..
Do not rely on the Google Maps app UI for coordinates, it is not meant for that anymore. Use an intent to let the user pick a place, then read the returned lat long from the Places SDK or from the system location picker. If you want to avoid Google Maps API costs, you can let users drop a pin and read device GPS coordinates directly, then store that point. Many apps do this and only use Maps for visual confirmation, not for data extraction.
 
Do not rely on the Google Maps app UI for coordinates, it is not meant for that anymore. Use an intent to let the user pick a place, then read the returned lat long from the Places SDK or from the system location picker. If you want to avoid Google Maps API costs, you can let users drop a pin and read device GPS coordinates directly, then store that point. Many apps do this and only use Maps for visual confirmation, not for data extraction.
Cool, let me give this a shot..

Thanks much..
 
Top
Sign up to the MyBroadband newsletter
X