I don t care about GPS, wifi, cell, network, coarse, fine, etc.
All I want to do is get the location X meters accurate. For example, 100 meters or 5 meters accurate.
If I want a high accuracy location (small x), Android would know to use the GPS. If I wanted a medium accuracy, Android would try Wifi/cell and use the GPS if needed.
Is there a way to do it without all the nitty-gritty details.
Looking for some method like locationManager.getLocation(accuracy, callback) and Android would do the rest.
https://developer.android.com/reference/android/location/Criteria.html https://developer.android.com/reference/android/location/Criteria.html