To provide precise coordinates, the phone must have GPS service enabled. It is managed in Android > Settings > My Location. GPS can identify location with 10-50 meters accuracy only outdoors.
Indoors, GPS often does not work. It is better to use WiFi then, it also shows location pretty well.
When GPS and Wi-Fi are not available, our app determines phone’s location by LBS – GSM towers with 100-2000 m accuracy. On the map, this location is displayed with the “No GPS” icon.