Skip to content

Location

Suraj Swarnapuri edited this page May 5, 2019 · 2 revisions

BNav uses the android.location package to gather geolocation data from the phone.

Global Variables

  • LocationManager _locationManager
    • gives access to system location services.
  • Location _nextLoc
    • the next location in the route.
  • Location _prevLoc
    • the previous location in the route.

Methods

  • void startLocation()
    • tracks the users location and draws a circle on the map
  • Location parseLoc(String loc)
    • parse location from the formated string

References

Clone this wiki locally