Android Question Search an address on google maps

Dman

Active Member
Licensed User
Longtime User
Here is the way I open an address in maps using a button. Not sure about google maps though.
B4X:
Sub btnMap_Click
     Dim MapIntent As Intent  
     Location = "geo:0,0?q= " & txtAddress.Text  
     MapIntent.Initialize(MapIntent.ACTION_VIEW, Location)
     StartActivity(MapIntent)
End Sub
 
Upvote 0
Top