GithubHelp home page GithubHelp logo

frankswu / apk-waveform-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googleglass/gdk-waveform-sample

0.0 2.0 0.0 55 KB

A simple Glassware apk that receives audio input from the microphone and displays it on the screen as an animated waveform, along with the decibel level.

License: Apache License 2.0

apk-waveform-sample's Introduction

apk-waveform-sample

A simple Glassware apk that receives audio input from the microphone and displays it on the screen as an animated waveform, along with the decibel level.

Prerequistes

  • Android SDK - This is needed for development.
  • Glass - You can push the code to an Android device but the goal of this project is to get started writing .apk for Glass.

Importing and compiling the code

Checkout the code into your filesystem and use your favorite IDE to import and compile the code.

In Eclipse and ADT

  1. Click File > Import ... > Existing Android Code into Workspace.
  2. Click Browse, select the location of the apk-waveform-sample/ directory, and click OK.
  3. Select the apk-waveform-sample project to import it and select Copy projects into workspace.
  4. Click Finish to complete the import.

In Android Studio

  1. Checkout the sample to a location where you keep your Android development projects. A apk-waveform-sample/ directory is created.
  2. Click File > Import Project..., select the location of the apk-waveform-sample/ directory, and click Next until you see the Finish button.
  3. Click Finish to complete the import.

Turning on debug mode

You'll need to turn on debug mode before you do any type of development on Glass. Go to Settings > Device Info > Turn on debug to enable it.

Push the .apk on Glass

You can use your IDE to compile, push and run the .apk or use this command line with adb:

adb install -r apk-waveform-sample.apk

Run the .apk

You can use your IDE to run the .apk or use this command line with adb when the Glass screen is on:

adb shell am start -n com.google.glass.samples.waveform/.WaveformActivity

apk-waveform-sample's People

Contributors

allevato avatar

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.