I have some doubts regarding onStatusChanged
from LocationListener
class.
It know it can present three states: AVAILABLE
, TEMPORARILY_UNAVAILABLE
and OUT_OF_SERVICE
Does
AVAILABLE
gets triggered only when coming out ofTEMPORARILY_UNAVAILABLE
? Or when the GPS has just finished warming-up ? Or right before the first location update?How about
OUT_OF_SERVICE
, when does it get triggered? Right beforeonProviderDisabled
?Is it possible to simulate these events (statuses) with the emulator?