Android Question GPS Location Changed Question

Scantech

Well-Known Member
Licensed User
From your experiences. GPS1.Start(0,0) is requested and will the Sub GPS_LocationChanged (Location1 As Location) Event fire up again when toggling GPS Location in Android Settings?

I tested with couple of devices and it resumes with locationchanged when Location Settings is turn Back On. Is this normal behavior?
 

Brandsum

Well-Known Member
Licensed User
Yes it is. GPS.start method starts listening for location and satellite state. Until and unless you stop it or close your app it will not stop listening.

When you turn GPS off from settings, the GPS hardware stop listening from satellites. When you turn it on it will start listening from satellites and raise location changed event.
 
Top