For example, I am inside a building and i want to get my location with the accuracy of 0.75 (Criteria.ACCURACY_FINE
) and this will use the gps if my gps is on. Since I am inside a building, gps won't work.
How can I determine if it is really impossible to get a gps fix location?
Is onLocationChanged(Location arg0)
will be called even though no gps fix location was received when using LocationListener
?
Is it possible to use a timeout in requesting gps location so that I can shift to network as the location provider if i can't get any location?