lismore / hm-android-scaffold

:phone: Simple sample app for HMKit on Android

Home Page:https://high-mobility.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

This app provides a simple scaffold to start building an app with HMKit on Android. These things have been done:

  1. New Gradle project created in Android Studio
  2. SDK imported and added to dependencies
  3. SDK initialised with snippet from the Developer Center
  4. One example included to send a telematics command to the car
  5. One example included to send a Bluetooth command to the car

Configuration

Before running the app, make sure to configure the following in MainActivity.java:

  1. Initialise HMKit with a valid Device Certiticate from the Developer Center https://developers.high-mobility.com/

  2. Follow the introduction and setup https://high-mobility.com/learn/tutorials/sdk/android/#introduction-and-setup

  3. Create an Access Token in the car emulator and paste in the source code to download an Access Certificate from the server

    IOTA Mobility

Run the app

Run the app on your phone or the Android emulator to try out sending a few commands to the car. Note that Bluetooth only works on a real device.

About

:phone: Simple sample app for HMKit on Android

https://high-mobility.com/

License:Apache License 2.0


Languages

Language:Java 100.0%