This project is no longer maintained. Required dependencies may no longer be available.
Example software for getting started with Mist Node development. It demonstrates creating a Mist Node as an Android service.
- Android Studio (tested in 2.2.2)
- Wish - Peer-to-peer trustbased networking layer (https://mist.controlthings.fi/dist/Wish-v0.3.4.apk)
- Mist - IoT layer for Wish (https://mist.controlthings.fi/dist/Mist-v0.4.0.apk)
Download and install Wish and Mist on your phone.
You need to create a user in the Mist application when you first start it up. Swipe to the Users-tab and click the plus-sign in the bottom right corner. Write a user name you want to use, and an identity will be generated for you.
- Clone this repository and open it in Android Studio
- Attach a phone with Android 4.4 or newer
- Deploy
- Open the Mist UI on the device to see the GPS service (if you can't see the service, try to manually refresh the page by pulling down on the list and releasing)
See GpsService.java
and the onCreate
method.
This is based on an android port of the Mist library, and is very limited in its capabilities, and you can probably break it in several ways. We will improve this API in due time. Currently this is only used for helping developers get started without access to Mist based hardware.