The Location Service enables Python applications to retrieve information on the physical location of an S60 device. It also enables to perform calculations based on location information.
For the location services to function in S60 device, the device must be location aware. It must include some location information provider, that is, a positioning system in the form of GPS, AGPS, or Bluetooth.
The following sample code is used to load the provider:
import scriptext location_handle = scriptext.load('Service.Location', 'ILocation')
The following table summarizes the Location Interface:
The following table lists the services available in Application Manager:
||Retrieves the current location of the user.|
||Informs the consumer of any change in current location.|
||Cancels the registered listeners with the service provider.|
||Performs specific calculations on user provided data.|