Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 72054a6fd4
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (25 sloc) 1.113 kB

GravityControls

A simple application for controlling your device's music stream with the built-in accelerometer. Simply flip over your device to mute your music. Flip the device back upright to resume.

Great for when you're listening to music at your desk and someone stops over to ask you a quick question. No need to fumble with a lock screen or unplug your headphones.

Originally I wanted this app to actually pause the current track, but since there is no standard way to interact with the variety of media player applications, this has proved to be extremely difficult.

Download from the Android Market

Building

If you want to build this app from source you can do so using the basic ant commands.

$ cd GravityControls
$ android update project --path .
$ ant clean debug
$ adb install bin/GravityControls-debug.apk

Contributing

If you would like to contribute to this app, please feel free to fork the repository and submit a pull request.

Jump to Line
Something went wrong with that request. Please try again.