Skip to main content

Location Tracking Setup (Android)

To configure device location tracking​ (Android):

  1. ​Grant location permission in operating system settings
  2. Define pref_device_name. This name must be a unique, valid JDE asset number.​
    For details of all configuration items, refer to the App Configuration Data Definitions.
  3. Configure pref_device_location_update_interval=300 or greater (seconds)

    Note that location updates may occur less frequently when the app is running in the background.

  4. Configure​ pref_device_location_track=true
  5. Add permission declaration to the AndroidManifest.xml:

    AndroidManifest.xml

    CODE
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 
    <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" /> 


  6. Declare DeviceLocationTrackService in the AndroidManifest.xml:

    DeviceLocationTrackService

    CODE
    <service 
      android:name="com.rinami.cantara.client.android.implementation.common.service.DeviceLocationTrackService" 
      android:exported="false" /> ​
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.