Here is a good way to show your location using the Google map, but is there an opposite way, so that you click on a location and pass it to storedlat and storedlon?
Otherwise people have to type it in by hand.
Otherwise people have to type it in by hand.
B4X:
Dim Intent1 As Intent
URI= "geo:" & storedlat & "," & storedlon & "?q=" & storedlat & "," & storedlon
'streetview works as well
' URI= "google.streetview:cbll=" & storedlat & "," & storedlon & "&cbp=1"
'google.streetview:cbll=lat,lng&cbp=1,yaw,,pitch,zoom&mz=mapZoom
Intent1.Initialize(Intent1.ACTION_VIEW,URI)
Intent1.SetComponent("googlemaps")
StartActivity(Intent1)