I have some doubts regarding the onStatusChanged class from LocationListener .
He knows that he can represent three states: AVAILABLE , TEMPORARILY_UNAVAILABLE and OUT_OF_SERVICE
Is AVAILABLE executed only when exiting TEMPORARILY_UNAVAILABLE ? Or when the GPS just finished warming up? Or right before the first location update?
What about OUT_OF_SERVICE when it fires? Right before onProviderDisabled ?
Is it possible to simulate these events (statuses) using an emulator?
android android gps
AndroidDev
source share