The Google Maps external library (part of the Google APIs Add-On) lets you add powerful mapping capabilities to your Android application.
Questions tagged [android-maps]
850 questions
-2
votes
2 answers
MapFragment. When inflating a layout: java.lang.IllegalStateException: Fragment already added
I get the next error: java.lang.IllegalStateException: Fragment already added.
This is a layout getting inflated each time I change tab, as seen in this photo:
![FirstTab]http://prntscr.com/h4e8pc
![SecondTab]http://prntscr.com/h4ebyn
So i get the…

Diego Romero
- 23
- 1
- 7
-2
votes
1 answer
How do i display one user current location to other on google map in android studio?
I am developing an app using google map, I want show driver current location to his admin. How do i show driver current location to his admin? How do i trace driver current location and display to his admin?
Following code show only driver current…

rohiH
- 99
- 3
- 14
-2
votes
1 answer
Android Google Map is not working in Marshmallow
I am working in application from which user current location can be retrieved, till now app is working fine in Lollipop version but when i am testing it in marshmallow, user location cannot be retrived.
MainActivity.class
public class MapsActivity…

Satish Lodhi
- 89
- 1
- 1
- 6
-2
votes
2 answers
Why Google Map is not displaying on Android Emulator?
I have everything installed and prepared in order to run a google map on android Genymotion Emulator. But for some reasons it doesn't get displayed. I understand that the program is able to navigate to that Map layout page, but the actual map…

Riyana
- 241
- 13
- 29
-2
votes
1 answer
How to show route on Inbuilt Map in Android Programmatically
After Full day Spending, I Found the solution to this Question:
How to show route on InBuilt MAP from one current place to another place using longitude/latitude or using Address?
May it is helpful to you.

Pratik Butani
- 60,504
- 58
- 273
- 437
-2
votes
1 answer
How to launch Navigation activity using Intent on Android
I want to start Navigation from my activity. The requirement is that when the user clicks the directions button in my app it should start the Navigation app on Android device and show the directions from current position to the destination…

Shax
- 4,207
- 10
- 46
- 62
-3
votes
2 answers
How to get Hybrid view of google map in Android Application
i can see the difference on Google Maps, but on an Android MapActivity
I'm struggling to find the difference.
For 'map' I call: mapView.setSatellite(false);
For 'satellite' I call: mapView.setSatellite(true);
But for hybrid view... I tried…

Prashant Kadam
- 551
- 1
- 12
- 25
-3
votes
1 answer
how to get google api key for device
I have created an application in Android based on Google Maps. I got an API key and it's running successfully in the emulator but when I run it on a device, it's showing a force close message. Can someone please explain how to get an API key for…

deepa
- 2,496
- 1
- 26
- 43
-3
votes
1 answer
Is it possible add an action to a infoWindow in android?
I am developing activity with a map, and markers, and I want to add several actions for each marker, like calculate route or call to a phone, it is possible to add an action like in the notifications?
like this
Thanks

Tlaloc-ES
- 4,825
- 7
- 38
- 84
-3
votes
1 answer
How to show the distance in kilometer on activity using google map in Android
I am trying to get the distance of the nearby event from my location (from google map) and show it on the activity. But I am not sure which button I need to use to show the distance and what is the java code to show the distance in kilometer on the…

Ankit
- 17
- 3