LA_ LA_ - 8 months ago 43
Android Question

How to open standard Google Map application from my application?

Once user presses button in my application, I would like to open standard Google Map application and to show particular location. How can I do it? (without using


You should create an Intent object with a geo-URI:

String uri = String.format(Locale.ENGLISH, "geo:%f,%f", latitude, longitude);
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri));

If you want to specify an address, you should use another form of geo-URI: geo:0,0?q=address.

reference :