Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple Android app for controlling your device's audio stream using the accelerometer.
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
res
src/com/tristanwaddington/gravitycontrols
.gitignore
.project
AndroidManifest.xml
LICENSE
README
README.md
build.xml
default.properties
project.properties

README.md

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.

Something went wrong with that request. Please try again.