Code Monkey home page Code Monkey logo

mist-gps-ui-android's Introduction

Mist GPS UI for Android

Example software for getting started with Mist Ui development. It demonstrates creating a Mist Ui as a native Android App. This software is freshly baked, expect problems. We are working on it.

Prerequisites

  • Android Studio (tested in 2.2.2)
  • Wish - Peer-to-peer platform (download .apk)
  • Mist - IoT layer for Wish (download .apk)
  • Mist GPS - An android Service playing the role of a Mist Node/Device. (download .apk or get source code)

Download and install Wish, Mist and the MistGps service.

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. Start Mist GPS and Mist
  4. Verify that you see the GPS in the Systems-tab from the Mist App on your phone.
  5. Deploy the Mist Gps Ui app from Android Studio
  6. The Gps Ui will automatically redirect you to Mist Ui if it can't see any peers. You chould then be able to click on the GPS in the peers list to give the Ui access to the Mist GPS.

See the source code for more documentation. All relevant code is in MainActivity.java.

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 is several ways.

Q: Peer does not show up A: Close all apps, and start them in the following order: Mist Ui, Mist Gps, Gps Ui

mist-gps-ui-android's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.