This is an app that demonstrates using of the Telematics SDK and walks you through the integration. The SDK tracks user location and driving behavior such as speeding, cornering, braking, distracted driving, and other parameters.
- Create a company account in Datahub
- Obtain credentials
- Create a test user to obtain
DeviceToken
- Clone this repository to local folder
- Open project with Android Studio
- Open MainActivity.kt file and setup
YOUR_TOKEN
with your real Devicetokenprivate static final String YOUR_TOKEN = "";
- build project and run
- Click on
START PERMISSIONS WIZARD
orSTART PERMISSIONS DIALOG
and grant all required permissions - Click on
ENABLE SDK
and you are ready to go!
- Make a trip
- Check your trip in the Datahub