Without using the Google Maps API (only launching the maps app with an intent) is it possible to contain multiple coordinates, and therefor have multiple pins on the map that opens? This does not mean creating a rout between two points.
How I do it for one pin:
String uri = "geo:0,0?q="+ Lat + "," + Longitude + " (" + name+ ")";
startActivity(new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri)));
I believe this is impossible. There does not seem to be a way to pass multiple points in through the Geo URI string, and therefore this must be accomplished by using the Google Maps API. I wish it were possible, it would make a lot of simple map tasks much easier to accomplish, but alas.
Link to the intent spec (which does not include any way to pass multiple locations) http://developer.android.com/guide/appendix/g-app-intents.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With