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 com.google.android.maps.MapView
)
Android – How to open standard Google Map application from the application
androidgoogle maps
Related Topic
- Android – Is quitting an application frowned upon
- Android – How to open a URL in Android’s web browser from the application
- Java – Launching Google Maps Directions via an intent on Android
- Android – the simplest and most robust way to get the user’s current location on Android
- Javascript – Google Maps & JavaFX: Display marker on the map after clicking JavaFX button
- Android 8: Cleartext HTTP traffic not permitted
Best Answer
You should create an
Intent
object with a geo-URI:If you want to specify an address, you should use another form of geo-URI:
geo:0,0?q=address
.reference : https://developer.android.com/guide/components/intents-common.html#Maps