Without clicking any button, how to directly get the current location and move the camera to it.
Also, I found that there is a button on the right top of the map. When click on it, it will go to current location. How to get location where it return when clicked that button?
Without clicking any button, how to directly get the current location and move the
Share
make sure you have these permissions:
Then make some activity and register a LocationListener
map.xml