yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] loqan:
Great app, working on Nexus 5. Any possibility to make it to start with power button long press? ;) or the option to set the click-click interval... sometimes i want just to check the clock and I do that really fast so Iam a bit worried about the light turning on in my pocket (since it has a little lag before it goes on)
[Android Apps and Games] Gnexus7:
Works great on my Moto G 2014. :)
[Android Apps and Games] Flyview:
Since the app can't actually detect the button press, but rather is based on when the screen cycles, I can't do the long press. The next version will have the ability to change the interval, but you can't set it any lower than how quickly your screen can physically toggle on/off, or off/on.
[Android Apps and Games] loqan:
Oh I thought its based on button press well Iam not a programer in any way it was just the first thing that came to my mind :D (is it impossible even for root users?)

yea, Iam going to test the app for some time to see how often (if ever) does the unwanted turn-on happen ;)
[Android Apps and Games] toussaint:
merci!

Fonctionne très bien sur Nexus. 5!
[Android Apps and Games] dahawthorne:
Nexus 6

Works fine on Nexus 6, screen on or off, and double-click switches the light on and off.

Bought the app to support the developer - great idea, very useful.

P.S. I'm rooted - no idea if that makes any difference.
[Android Apps and Games] Flyview:
V1.1 is out:

-Added free option to set double click interval

-Added free option to keep in memory
[Android Apps and Games] Stormwing:
Works like a charm on my Sony Xperia Z3v. +1 for a notification to turn it off without another screen cycling. Thanks!

EDIT: Also sub .5 sec options would be nice.
[Android Apps and Games] FIFATG:
Great app, but I believe a long press on the power button is a better way to go.
[Android Apps and Games] moondoggeh:
great app.Tested on N7100 note 2, with ditto note v1 update 5b, from electron team. Working great. no issues (except the mentioned note4 issue, cycle with home button+power turns it on)
[Android Apps and Games] wwwwe:
Excellent idea. Thank you for making my life easier..

Could you, please, add more light trigger options? For example, pressing volume down and then volume up buttons would be better in my opinion. You could for example have trigger one and trigger two options in the menu. In the current situation both options triggers would be power button.

Could be also nice to be able to adjust max delay between the two triggers.
[Android Apps and Games] waver1967:
working on htc one s cm12
[Android Apps and Games] Guids:
also imo. thanks for the app though!
[Android Apps and Games] sonomazr2:
The update fixed the problem on Droid Turbo!!! Thanks.
[Android Apps and Games] SummerRainbowz:
Great app indeed, it really helps in situations when you're walking and you need the light really fast.
[Android Apps and Games] anandnitin25:
flash

best for lg g3.Working very fast.
[Android Apps and Games] Magicman500:
The flashlight comes on if the screen automatically times out and I turn it back on quickly. I understand how the app works, but this is a major problem.
[Android Apps and Games] dragontology:
Works on HTC One M8 running the GPE ROM (Google Play Edition, basically makes it a Nexus, sort of).

Glad to hear (based on earlier comment) that it works on the 2013 Moto X. Wife has one, and she loves LeanDroid. I was excited to see this is the same developer. I heard about this app before but was skeptical. Running stock Lollipop I have a flashlight toggle, and I even have a quick pulldown mod, but this is a little faster. A little more utility, a little less James Bond, but I'm okay with that.
[Android Apps and Games] wolfballz:
Works great on my verizon note 2.
[Android Apps and Games] Flyview:
Unfortunately that's not possible without root. I can't get the button press events, especially not the volume keys once the phone is asleep.
[Android Apps and Games] wwwwe:
Thank you for the answer. Could you then, please, make a root version? It could be paid app.
[Android Apps and Games] Flyview:
I'll look into it. Root might not even be enough, may have to modify the system image (custom ROM).
[Android Apps and Games] wwwwe:
Perhaps Xposed Framework can provide the answer. Check Xposed Torch for reference. It uses volume buttons to trigger torch, but works only screen off.
[Android Apps and Games] Flyview:
Can someone please check something for me on their KitKat or lower device?

Cycle the screen quickly while in call with the proximity sensor, not with the power button.

Does the flashlight toggle?

On Lollipop, it looks like the SCREEN ON/OFF events are not sent out by the system when turned off automatically in call via the proximity sensor. So the flashlight coming on by mistake is not a problem on Lollipop, but this wasn't always the case. I think this changed either with KitKat or Lollipop, so I'd like to figure out when.
[Android Apps and Games] Flyview:
I just pushed update 1.2 (should be available in about an hour):

CL 1.2 (January 19, 2015)

-Added widget to toggle flashlight

-Added option to ignore while in-call for Android versions older than Lollipop (not necessary in Lollipop)

-Toggle light directly from notification

-Minor code fixes and performance improvements
[Android Apps and Games] mva1985:
Works just fine on my Note 4

Love your apps!
[Android Apps and Games] Flyview:
Anyone running this on HTC Sense based ROMS? I need some help diagnosing problems. I just tried it on my friend's HTC One stock running Sense (4.4.2) and it doesn't play very well. It looks like ClickLight can't consistently keep the flash on if the screen is turned off.
[Android Apps and Games] boxcar8028:
won't work on my stock N5... uninstalled
[Android Apps and Games] Flyview:
It should work the best on a Nexus 5, that's what I developed it on. If you'd still like to try and make it work, make sure the screen is actually cycling from on to off and back on (or from off to on and back off) from the double press of the power button. That's the most common problem.
[Android Apps and Games] Magicman500:
This isn't what I meant with the notification. I meant have the notification show up when the light is on regardless of your persistent notification setting. I don't want the notification on all the time, but I want it on when the light is on.

Also, I'm having a lot of trouble with turning the screen back on right after it turns off automatically. I've had my flashlight come on three times in public. I'm going to get arrested for voyeurism before too long...
[Android Apps and Games] Flyview:
Hahaha. Hmmm that's not a bad idea to show the notification whenever it does come on. What device are you using again? This works better with some phones than others.

Sent from my Nexus 5
[Android Apps and Games] Magicman500:
Verizon Note 4. When the light comes on because of the screen timing out, turning it off with the "gesture" is extremely difficult. I have to cycle the screen 4 or 5 times to get the light to go off. When it turns on as I intend it to, it turns off just fine. Haven't had any problems with it's intended use case.

I'd be happy to help you test things if you have any ideas.
[Android Apps and Games] Flyview:
Can you try turning it on with the double press starting with screen off? What's your double click interval set to?
[Android Apps and Games] Magicman500:
It seems a little picky, but works overall. Click interval is set to 0.8 currently. 1.0 was too slow, 0.7 was too fast. 0.8 seems to work pretty well for me, except when the light gets turned on because of screen timeout.
[Android Apps and Games] Flyview:
Damn, there's been 35+ three star ratings on Google Play overnight, all in Russian. I believe they are fake, most even say good app (or good game), but all are 3 stars and posted within minutes of each other... :(
[Android Apps and Games] Flyview:
Are there any features you guys would like to see? I've added auto turn off by proximity in the upcoming version, and I'll be making the vibrate option free.
[Android Apps and Games] Magicman500:
Is there a way to detect what causes the screen to turn off? The screen automatically turning off has caused me many issues.
[Android Apps and Games] Flyview:
No there isn't. Are you having problems because you quickly turn the screen back on after it times out? Might want to try my other app KinScreen if your screen's always turning off :)

New version has just been published and should be available in about an hour:

1.4.0

-Added option to automatically turn off by proximity (ex. in pocket)

-Made vibrate option free

-Better timed vibration

-Added some protection against toggling flashlight by plugging device in

-Layout redesign
[Android Apps and Games] Magicman500:
Proximity sensor was a great idea. Now I can turn up the automatic off time and still shove my phone in my pocket in a panic if I accidentally turn the light on in public. :good:
[Android Apps and Games] teorouge:
Hi, thanks for the app as it works nice until xposed goes lollipop compatible. Are you going multi language? I can help with Italian language.

And are you going to add a long press power button option as an alternative to double click? Good old sense 6 toolbox works this way and I think it's more comfortable and convenient. Thanks anyway for your efforts!
[Android Apps and Games] Magicman500:
This isn't an xposed module, it's just a non-root app. He's explained that the app works by detecting the screen turning on and off, rather than the actual power button presses, so long pressing on the power button probably is not an option. If you prefer Sense 6 Toolbox, simply use that! There's no point in having two apps that do the same thing.
[Android Apps and Games] Flyview:
Yes unfortunately ClickLight can't detect the button presses directly. I will be starting translations soon. I wanted to wait and make sure I wasn't making any more drastic changes. If you would like to help, please email teqtic@gmail.com. Thanks!
[Android Apps and Games] teorouge:
I'm sorry I missed the explanation about the logic behind the app, but I'm perfectly aware this isn't an xposed module. Actually, I use this app exactly because xposed isn't compatible to Android 5, or Lollipop (yet, and maybe never will): did you know that? Please don't be mad at me, I just asked a question and I'm offering my help too...

@Flyview: I sent you the email. ;)
[Android Apps and Games] Magicman500:
I'm not mad, man. I didn't mean to give off that impression, sorry.
[Android Apps and Games] Flyview:
Anyone here a developer? I'm trying to think of a way to get the callback from the onKeyDown event of the power button, without overriding the method, which doesn't work.

[MENTION=439709]override[/MENTION]

public boolean onKeyDown(int keyCode, KeyEvent event) {

if (keyCode == KeyEvent.KEYCODE_POWER) {

// Do something here...

}

return super.onKeyDown(keyCode, event);

}
[Android Apps and Games] Flyview:
Any suggestions for new features/changes?
[Android Apps and Games] Magicman500:
What about a setting that makes it only turn the light on if the screen is on/off when you start the double tap? Like the light would only come on if the screen is off and then you press the power button twice. If the screen is on and you press the power button twice, the light wouldn't come on. This would help with the screen turning off automatically activating the light (Which I still struggle with constantly).
[Android Apps and Games] md07:
why dont you use volume button?
[Android Apps and Games] osama-selo:
Can u add Longpress power button to turn on the flashlight?

It's available in Sense 5/6 Toolbox
[Android Apps and Games] Flyview:
That I could do, but it could be confusing to a lot of people. I'll think of how I could add it in. Just to be clear, the problem you are having now is screen times out and you immediately power it back on, causing the light to toggle?

Impossible once the phone is already sleeping, but I'll check again...

That won't really work, there's other functions assigned to long pressing the power button. What'st he Sense 5/6 Toolbox?
[Android Apps and Games] Magicman500:
Yeah. You've linked your other application before, but I'm not really interested in having an application that controls my screen timeout.

Maybe you could have something like this?
[Android Apps and Games] Flyview:
Yea something like that could work.
[Android Apps and Games] osama-selo:
It's an Xposed Module for HTC Sense ROMs that toggle on the flashlight by longpressing the power button for about 1.5 sec while the screen is off, I used it when I was on Sense ROM and I miss this function a lot... hope u can do it in your app.

Here is the link to it.
[Android Apps and Games] Flyview:
Ah I see. Well CL doesn't use XPosed. I may have to go that route in the future.
[Android Apps and Games] teorouge:
Please do! You can try and look at S6T code and see how he achieved that... Or ask the developer (Mikanoshi). :)
[Android Apps and Games] brute-coder:
NICE WORK
[Android Apps and Games] osama-selo:
+1000
[Android Apps and Games] wirdil:
Thanks for the app! Works great on Galaxy GT-S7580.
[Android Apps and Games] niukin:
Works fine on Samsung Galaxy A5. Thanks for the app!
[Android Apps and Games] Flyview:
I have someone reporting that it is not working on a Samsung Galaxy S4 on stock Lollipop (5.0.1) ROM. The notification won't show even with keep in memory selected. Anyone have a similar setup?
[Android Apps and Games] Flyview:
New update:

CL 1.5.4

-Added Material design for pre-Lollipop Android versions!
[Android Apps and Games] brordavid:
Works great on my nexus 4. Great work! Well invested 8 Swedish kronor. ??
[Android Apps and Games] Magicman500:
Is this still on the table? I'd be happy to help in any way that I can.
[Android Apps and Games] VTCruzer:
I like it, but I use AcDisplay and it has an option to automatically turn the screen on if something moves out of the proximity sensor. Your app seems to detect that as a button press and it ends up turning on the light sometimes.

So is it possible to add an option to turn on the light after 3 clicks instead?
[Android Apps and Games] Flyview:
Yes any cycling of the screen within the chosen time interval will actually end up toggling the light. I can add that option yes. It will be even more cumbersome to turn on the light though, you'll have to make sure your screen literally cycles 3 times (from on to off to on to off).
[Android Apps and Games] Flyview:
Can someone with a Note 4 running 5.0.1 please confirm if the double click function works or not?
[Android Apps and Games] Magicman500:
Verizon Note 4 (SM-N910V) running 5.0.1, double click works fine.
[Android Apps and Games] GreekDragon:
my bro has Note 4 running 5.0.1 and the double click works perfectly.
[Android Apps and Games] Flyview:
New updated published yesterday.

CL 1.5.5

-Fixed issue with button text being cut off on pre-Lollipop Android.

-Minor layout improvements.
[Android Apps and Games] Flyview:
How's this working for you guys? I haven't had much time to work on it, but will try and put in some of the suggested features. Keep them coming!
[Android Apps and Games] Flyview:
Published a new update today:

1.5.7

-Allow 3 digit input for setting proximity timeout exception.

-Changed default double click interval to 0.6s.

-Fixed rare crash. [Caught a more general exception in the try catch of messenger.send]

-Fixed a rare issue with the recognition of purchases and the purchase system.

-Updated to newest libraries and built with Marshmallow SDK.
[Android Apps and Games] Flyview:
I just published an update, it should be available on the market within an hour.

1.5.8

-Fix permissions issues on Android Marshmallow Preview

-Must explicitly allow access to the camera!

-Reduced minimum double click interval to 300ms

-Fixed an issue with automated dialog being shown after onSaveInstanceState causing crash
[Android Apps and Games] BigiD16:
been looking for this
[Android Apps and Games] MaxGood99:
Thanks, working just fine. :)
[Android Apps and Games] Flyview:
Thanks guys. Spread the word, CL is almost at 50k downloads, a big step :)
[Android Apps and Games] stepanov.standy:
Thank you, bro, for a useful app! =) I use flashlight very often - and now it's easier
[Android Apps and Games] Flyview:
Thanks guys, please remember to leave a review on Google Play. It really helps spread the word.

P.S. How do you guys like the new "feature graphic" in the top of the Play store listing on mobile?
[Android Apps and Games] Flyview:
I published an update, it should be available shortly :)

1.6.0

-Added triple click option

-Removed checkbox for click option and added toggle for service in action bar

-Fixed service not stopping itself when service disabled and light toggled from widget or notification

-Automatically change timeout to 10min after premium purchase recognition

-Minor layout changes

-Updated to appcompat 23.1.0 [This actually changed the background color to more white!]

-Temporarily remove Italian translation
[Android Apps and Games] Flyview:
Published another update, should fix a lot of bugs:

1.6.1

-Fixed some issues with manual toggling of the light while the "click function" feature disabled

-Made it more obvious that the click function will not work when toggled off from top right

-Fixed issues with the notification not appearing when service off if using keep in memory/always show notification

-Protected against attempts to toggle while light already toggling

-"Keep in memory" option no longer keeps the service in memory if click function feature disabled

-Change default double click interval back to 1s

-Reintroduce Italian translations
[Android Apps and Games] Flyview:
Finally! Let's get to 100k!
[Android Apps and Games] Flyview:
Anyone running this on a Note 5 want to check something for me? Does the notification toggle (tap to turn off) work from the lock screen?
[Android Apps and Games] Magicman500:
It does not, it wants me to unlock the phone first. Samsung's default flashlight app uses a notification with a direct action to turn the light off. Tapping the notification from the lockscreen does not turn the light off, but direct actions work from the lock screen. Good luck!
[Android Apps and Games] Flyview:
What kind of lock security do you have? What do you mean by direct actions?

I guess it makes sense. On my Nexus 5 if I have a PIN set, I guess I run into the same thing. I have to unlock first before the action from the notification is performed. However with swipe only security clicking on notifications is allowed, and also unlocks.
[Android Apps and Games] Magicman500:
I use the fingerprint lock, but I would assume that all secure lockscreens function in the same way. Here's a screenshot of the system notification:

It uses a direct action (Like GMail having Delete, Reply, Archive in their notifications) to turn it off instead of tapping on the notification making the light turn off, as the phone needs to be unlocked for notification taps.
[Android Apps and Games] Flyview:
Added to the todo list!
[Android Apps and Games] Flyview:
Can anyone verify if ClickLight is working on a Samsung Galaxy S6?
[Android Apps and Games] Flyview:
So I'm finally getting around to doing this, and it looks like expandable actions (what you seem to have termed "direct actions") still don't work without first unlocking when using a secure lock screen. Are you sure other apps like Gmail's expandable options work from the lock screen or is it just Samsung's own flashlight app notification?
[Android Apps and Games] Magicman500:
Yep, all expandable options work for me on lock screen (With fingerprint security). I regularly use CloudMagic's Mark As Read expandable action from my lock screen. Are you sure you're touching directly on the expandable option and not the divider line or something? If you'd like to send me a test APK I can verify if it's your phone or the app.
[Android Apps and Games] Flyview:
Can you check the same thing with a PIN lock? It probably comes down to Samsung just allowing it though.
[Android Apps and Games] :
nice app, very useful
[Android Apps and Games] Flyview:
Thanks! Please leave a review on Google Play as well if you like it.
[Android Apps and Games] Magicman500:
Works fine with a PIN lock too.
[Android Apps and Games] rayjr13:
Hello OP. I want to report a chronic issue I've been having while enjoying this app. Sometimes when my screen idles to screen off. Clicklight vibrates as the screen powers off and then the flashes are lit. Waking the phone reveals clicklight active. It is not consistent or repeatable as I can determine the sequence of actions that trigger it.

I'm using XT1254 MOTO in 5.1
[Android Apps and Games] Flyview:
Hey, I've seen this happen rarely. For some reason the system sends out multiple screen toggle events (I think that's what must be happening). I would suggest switching over to the "triple" click option as it basically eliminates most situations that cause false toggling of the light.
[Android Apps and Games] rayjr13:
Thing that sucks about the triple option is it doesn't leave you in the screen state you started in ...wonder why multiple toggle events would occur too many things trying to save energy
[Android Apps and Games] Flyview:
You're right. If only I could find a way or if Google would implement a way to detect a power button press that would fix everything. I should try and find the source for their double press for camera feature...
[Android Apps and Games] rayjr13:
not that you are trying to be moto assist/actions but i do like using the double chop for flashlight gesture. cool that it works from screen off as well. Same as the twist for camera gesture I wish they were available to all devices.
[Android Apps and Games] Flyview:
Just put out an update!

1.7.0 (April 12, 2016)

-Updated design

-Added notification priority option (when light off)

-Added "About" dialog

-Changed light-on notification priority to MAX

-Changed except-in call default to true
[Android Apps and Games] Flyview:
I just published an update to the beta channel. I need people on Android 6.0 to test out the flashlight and see if it stays on while the screen is off for over 2 minutes (the longer the better), and in general if everything is working as expected.

To join the beta program, opt in at this link: https://play.google.com/apps/testing/com.teqtic.clicklight

1.8.0 - Beta 1

-Much faster toggling of flashlight on Android 6.0+

-Increased default double click delay to 1.5s

-Keep in memory/show notification now the default

-Translated to French (Thanks Anthony!)

-Built for Android Nougat 7.0
[Android Apps and Games] Flyview:
Anyone able to confirm?
[Android Apps and Games] iRhyiku:
Working great here.

Any chance to have an option for holding power button instead? I have camera on double click power you see
[Android Apps and Games] Flyview:
Sadly no, as CL can't even detect the power button, it has to rely on screen events.
[Android Apps and Games] Elanza_48:
I'm unable to opt in. Says not eligible.
[Android Apps and Games] Flyview:
What device?

I've had a report that the app is crashing on an LG G6 running Android 7. Can anyone else please confirm? If someone has a G6 and is able to get a logcat for me, please let me know so I can send you a debugging version!
[Android Apps and Games] Elanza_48:
Galaxy J7 prime running on 6.0.1
[Android Apps and Games] Flyview:
Please try now.

New beta update is up on Play and XDA Labs! Let me know if you guys are able to join the Play beta program here:

https://play.google.com/apps/testing/com.teqtic.clicklight

If you're getting it through XDA Labs don't worry about the Play beta program.

2.1.0 - beta 1 (December 21, 2017)

-Proximity option now free!

-Fixed QuickSettings toggle not working if service disabled (no click function)

-Much quicker start up after boot

-Fixed notification content being hidden

-Always run as foreground service if service on, notification dismissible otherwise

-Changed spinners to buttons

-Added a notification for when light turns off early due to free version

-Built for Android 8.1

-Increased min SDK from 10 to 14

-Updated translations