I know you can start an intent to open google maps with latitude and longitude, but what if you just have an address (such as 555 south green street St.Louis Missouri) and would like to show a map that way?
Asked
Active
Viewed 2,351 times
1 Answers
9
Not completely sure, maybe something like this?
String uri = "geo:0,0?q=my+street+address";
startActivity(new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri)));

Sam Dozor
- 40,335
- 6
- 42
- 42
-
Yes this works. I will just have to figure out how to add a point from address to finish the code. Thank you very much. – Nick Jan 05 '12 at 18:20