Android Question GPS Location Changed Question

Discussion in 'Android Questions' started by Scantech, Aug 20, 2019.

  1. Scantech

    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?
  2. Brandsum

    Brandsum Active 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.
    Scantech likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice