Example application built with the HyperTrack TransmitterSDK
and ConsumerSDK
for Android. For the iOS equivalent, refer to example-ios.
- Driver - example of integration with
TransmitterSDK
, which transmits location data for HyperTrack Trips/Shifts - Consumer - example of integration with
ConsumerSDK
, which allows real-time tracking of HyperTrack Tasks on a map
- Android studio with emulator (or test device)
- HyperTrack API keys. Learn more about them here.
The example Driver application implements both Shifts and Trips. Read our definitions to know more.
Recommended: Take a look at the Android driver quickstart.
STEPS
- Sync the Gradle files to download the HyperTrack SDKs.
- Replace
YOUR_PUBLISHABLE_KEY
with your key inDriverAppApplication.java
. - Replace
YOUR_DRIVER_ID
andYOUR_TASK_ID
with the respective ids inLoginActivity.java
for Shift andMainActivity.java
for Trip. - Run in emulator. You might need to enable the location permission: see how.
The example Consumer application tracks one Task on a map. Read our definitions to know more.
Recommended: Take a look at the Android consumer quickstart.
STEPS
- Sync the Gradle files to download the HyperTrack SDKs.
- Replace
YOUR_PUBLISHABLE_KEY
, with your key, andYOUR_TASK_ID
with the id of the Task to be tracked inMainActivity.java
. - Run in emulator.
For detailed documentation of the methods and customizations, please visit the official docs.
Please use the issues tracker to raise bug reports and feature requests. We'd love to see your pull requests - send them in!
Join our Slack community for instant responses. You can also email us at [email protected]