droidstealth / droid-stealth

THIS PROJECT IS DEPRECATED
GNU General Public License v2.0
61 stars 22 forks source link

Toggle flashlight functionality #156

Closed alexwalterbos closed 10 years ago

alexwalterbos commented 10 years ago

Except for the image, our widget toggles your phone's flashlight if available. Just an icon and we're even more hide-in-plain-sight! =D

@OlivierHokke this was my idea.

Android has some weird checking whether your phone has a flashlight, there's not really anything to do about that. It gives some unpredictability.

alexwalterbos commented 10 years ago

hmm, has some bugs still. Added do not merge label.

OlivierHokke commented 10 years ago

So basically the original idea? :) this is next to the invisible one (thus, user can pick)? Or instead of?

alexwalterbos commented 10 years ago

I liked this one better, that's why I had a go at it. Btw, the bug now is that the toggle will turn on your flashlight, but it can't turn it off :')

OlivierHokke commented 10 years ago

Im not sure if we should do flashlight only, since not all devices have it. Perhaps the user can pick one? Like: Wifi, GPS, bluetooth, brightness mode, Mobile data

alexwalterbos commented 10 years ago

I'll create an issue for that ;)

alexwalterbos commented 10 years ago

Won't be used in the upcoming export.