Skip to content

Android quick settings toggle to mute/unmute media audio

License

Notifications You must be signed in to change notification settings

MarcoLucidi01/QuickMediaMute

Repository files navigation

QuickMediaMute

an Android quick settings toggle to mute/unmute media audio.

quickmediamute

my phone lives constantly in "vibrate" mode and i like the fact that we have two separate volumes for ringer and media audio, but i wasn't able to find a quick setting toggle for switching on and off the media audio (like the one we have for changing ringer mode between mute, vibrate and sound). this "app" adds just that: a toggle for the media audio which i find very useful when visiting certain sites or using certain apps.

yes i could just use the volume up and down keys, but i find that a bit clunky and when i want to unmute the audio, the previous volumes level is lost.

install

just grab the latest .apk from the releases page and install it on your phone.

i'm not an "Android developer", so i won't bother putting this thing on the playstore (this was in fact my first Android "app").

otherwise you can build the .apk yourself if you don't trust me :), run:

$ ANDROID_HOME=$HOME/Android/Sdk ./gradlew assembleRelease

(you need the Android SDK of course), then the .apk will be at:

app/build/outputs/apk/release/io.github.marcolucidi01.quickmediamute-v1.0.0-release.apk

thanks

to this random stackoverflow question (and linked tutorials) which pointed me to the Android Quick Settings API.


see license file for copyright and license details.