Coder Social home page Coder Social logo

ffsouza / android-weaveledtoggler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shekaroppo/android-weaveledtoggler

1.0 1.0 0.0 3.83 MB

Demonstrates basic usage of the Weave API to toggle LEDs on a compatible device.

Home Page: https://developers.google.com/weave

License: Apache License 2.0

Java 95.94% HTML 4.06%

android-weaveledtoggler's Introduction

Weave LED Toggler Quickstart

Demonstrates basic usage of the Weave API to toggle LEDs on a compatible device.

Screenshots

Device list on a phone Controlling LEDs on a board

Build

This sample uses the Gradle build system. To build this project, use the gradlew build command or import the project into Android Studio.

Run

To run this sample you will need at least one Android device and one Weave compatible device, for example a Brillo development board.

This sample app expects the Weave device to have a _ledflasher schema vendor trait. See [https://developers.google.com/brillo/eap/guides/develop/weave-integration](ledflasher demo) for a comprehensive guide on how to build a compatible Brillo board.

You also need to go through the "Bootstrapping and registration" flow to associate the Brillo device with your account.

Turn on the Brillo device and open this application on the Android device. On the first run, the user will be asked to grant access to each invidual devices they want to control from the app. Then the app will list each device detected and authorized. When the user selects a device, a screen will show all LEDs exposed by the device, allowing the user to flip each LED on or off.

Next Steps

Visit [https://developers.google.com/weave/] (https://developers.google.com/weave/) for more information on the Weave API.

android-weaveledtoggler's People

Contributors

ffsouzamot avatar keyboardsurfer avatar mangini avatar

Stargazers

 avatar

Watchers

 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.