Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,137 Members 49,737 Now Online
XDA Developers Android and Mobile Development Forum

toggle flashlight and silent mode with lockscreen slider

Tip us?
Proverbs2's Avatar
Senior Member - OP
Thanks Meter 299
Posts: 287
Join Date: Feb 2012
Default toggle flashlight and silent mode with lockscreen slider

One unfortunate limitation of the CM11 lockscreen is that you can't toggle silent mode or flashlight using slider shortcuts. (Yes, you can use the notification drawer or quick settings menu, but those are more cumbersome.)

I've been experimenting with Tasker App Factory, and I've just created two very simple apps: one to toggle the flashlight (torch) and one to toggle silent mode. You can set these apps as slider shortcuts on the lockscreen. I'm not a developer, so don't expect much, but I decided to share these in case they're useful to someone.
Attached Files
File Type: apk Silent_Toggle.apk - [Click for QR Code] (955.9 KB, 57 views)
File Type: apk Torch_Toggle.apk - [Click for QR Code] (954.6 KB, 75 views)
The Following 5 Users Say Thank You to Proverbs2 For This Useful Post: [ Click to Expand ]
Junior Member
Thanks Meter 0
Posts: 6
Join Date: Apr 2014
great, i had such a habit from old samsungs where holding volume key would turn flash on by default. thanks!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes