Coder Social home page Coder Social logo

loop-sample-drives-android's Introduction

LOOP Sample Drives

Prerequisites:

  • Android 4.4+

Build instructions:

These instructions will get you a copy of the Location and Observation Platform (LOOP) sample app that will download and display trips.

  1. Signup for a Loop account and create an app on the Loop Developer Site
  2. Get the sample app 0. Clone this sample app https://github.com/Microsoft/Loop-Sample-Trips-Android.git 0. Open it in Android Studio 0. Add your appId and appToken in SampleAppApplication.java in the initializeLoopSDK() method
```
    String appId = "YOUR_APP_ID";
    String appToken = "YOUR_APP_TOKEN";
```
  1. Create test users in the user dashboard at the LOOP Developer Site
  2. Fill in the userId and deviceId in SampleAppApplication.java initializeLoopSDK() with a test user's userId and deviceId obtained from the Loop Developer Site
```
    String userId = "TEST_USER_USER_ID";
    String deviceId = "TEST_USER_DEVICE_ID"
    
    LoopSDK.initialize(this, appId, appToken, userId, deviceId);
```
  1. (optional) If you don't require a specific userId and deviceId, skip the previous step. Instead, initialize the SDK with the following:
```
    LoopSDK.initialize(this, appId, appToken);
```
  1. Build and run the app

After the app runs for a while you will see your user's trips and drives. This should only take a few hours but no longer than 24 hours as you move between locations.

loop-sample-drives-android's People

Contributors

microsoft-github-policy-service[bot] avatar msftgits avatar srasool avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

loop-sample-drives-android's Issues

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.