Skip to content
This repository has been archived by the owner on Nov 12, 2018. It is now read-only.

Example code for creating a Mist Node as an Android Service

License

Notifications You must be signed in to change notification settings

ControlThings/mist-gps-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mist GPS for Android

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.

Prerequisites

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.

First run

  1. Clone this repository and open it in Android Studio
  2. Attach a phone with Android 4.4 or newer
  3. Deploy
  4. 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)

Make changes

See GpsService.java and the onCreate method.

Known limitations

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.

About

Example code for creating a Mist Node as an Android Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages