Flashlight app with lockscreen widget - General Topics

I just added Lockscreen widgets to my app TouchLight which makes it pretty sweet.
Why not just use an led toggle in the notifications? Good question anon, the lock screen widget gives you access to multiple on screen lights as well as the led. It also turns down the screen brightness and works really well for being able to toggle the light on and off as often as you like.
LINK
Hope you all like the app.

MinceMan said:
I just added Lockscreen widgets to my app TouchLight which makes it pretty sweet.
Why not just use an led toggle in the notifications? Good question anon, the lock screen widget gives you access to multiple on screen lights as well as the led. It also turns down the screen brightness and works really well for being able to toggle the light on and off as often as you like.
LINK
Hope you all like the app.
Click to expand...
Click to collapse
Hey Bro,
I need help with coding.
i created a flashlight application by using camera API getCamera()
it works but when the screen goes off or i minimize the application the led light turns off.
looking forward for your reply.
thanks in advance.
and BTW nice work with your app. :good:

a-ssassi-n said:
Hey Bro,
I need help with coding.
i created a flashlight application by using camera API getCamera()
it works but when the screen goes off or i minimize the application the led light turns off.
looking forward for your reply.
thanks in advance.
and BTW nice work with your app. :good:
Click to expand...
Click to collapse
The LED is tricky, lots of devices have a lot of different quirks with them so make sure your issues are not devices specific. When I was programming the LED stuff awhile ago I remember having the opposite problem.
I don't know about getCamera() and don't see anything about it in the docs. I use camera = Camera.open() (the rear camera is the default). I have to release the camera (camera.release()) on pause or else it caused problems with the stock camera app. To turn the light on I set the flash mode, parameters and then startPreview. I found this to work on the most devices. Some devices like autoFocus to be set also but a greater amount hate it.
Also remember that you have to give your users a way to turn it off when the app is not opened. I would recommend a notification. If they have to reopen your app through multitasking to turn it off that's a "fail, one star, uninstall" type of a thing.

Related

Stobe led for epic

Anyone know of a stobe light app for epic
Sent from my SPH-D700 using XDA App
Try app called "color flashlight". Under the effects section, there's a strobe light, among others.
I'm sure you mean a strobe light using the LED on the back of the phone. I've been looking for one, too, but all the ones I've seen in the Market don't seem to work on the Epic. Any help would be appreciated.
Sent from my SPH-D700 using XDA App
Yes I am speaking in terms of the LED. Anyone anything?
Sent from my SPH-D700 using XDA App
Try TESLALED and get the donation version he's one of our own here. Great program.
There's a very long delay between hitting the widget led switch (on any app) until the LED actually turns on. It's not likely strobe will work until this delay is removed, if at all possible. The led on my wife's moment turns on instantly by comparison.
kwiksi1ver said:
Try TESLALED and get the donation version he's one of our own here. Great program.
Click to expand...
Click to collapse
+1 on teslaled.. Best light app on market, and widget is perfect..
Traced with Ultra Keyboard from my *Epic*
Thanks for this....works great! I've been looking for an LED light that would work on the Epic for a while now.
The flashlight works fine but not the strobe effect.
There is no strobe LED for the epic because the sensor is made by NEC the libs are loaded each and every time the LED turns on and off, hence the long delay.
Ok, I did a quick test, if I go to the camera and click the Camera button quickly I get almost the same effect....why can't it be programmed the same way and if you say the library is loaded every time, maybe keep them loaded and just call upon them? How does the camera work where it detects you pressing the button and turn on the LED so quickly? I am sure it can be done, but I am not an android developer so I have no clue.

Optimus 3d notification led idea

Maybe this belongs in the development area but...
The evo3d got a notification led wich i like...what about if we can make the capacitive button led's blink or something when we have a mail and sms...
Maybe more guys have this idea but well....tell me if its possible and a good idea
It is probably possible and I think developers will have a hand on it if they havent yet.
It will be eventually supported.
this idea is awesome. i think it is possible
joker20 said:
this idea is awesome. i think it is possible
Click to expand...
Click to collapse
Glad someone's liking it
This would be a nice to have for sure. If can light up those "buttons" to use for notification, it will be great.
This is already done with O2X, so it is definitely on the way for us
My previous phone was GalaxyS which had no led aswell.
I used a programmed called NoLed on the Galaxy. Installed on Optimus 3d and seems to work fine.
Link to developer - http://www.devasque.com/noled/index.php
HTCtouchuk said:
My previous phone was GalaxyS which had no led aswell.
I used a programmed called NoLed on the Galaxy. Installed on Optimus 3d and seems to work fine.
Link to developer - http://www.devasque.com/noled/index.php
Click to expand...
Click to collapse
It doesnt support the capacitive button led's.
Sorry i was only suggesting this as a temporary alternative until further developments.
I really like this idea!
But is it possible to expand on it further?
Since there's 4 capacitive buttons on the phone, are we able to make them blink individually?
For example... home button blinks when we have a missed call, menu button blinks when we have a message, back button blinks when we have an email, and etc?
Noled seems to be working fine for me...
gismo918 said:
Noled seems to be working fine for me...
Click to expand...
Click to collapse
Yeah works fine for letting the SCREEN blink?
Were talking about the buttons
HTCtouchuk said:
Sorry i was only suggesting this as a temporary alternative until further developments.
Click to expand...
Click to collapse
Unfortunately not. As the app page states, AMOLED uses no power displaying a fully black pixel so displaying alerts on the screen takes very little power.
Now as the O3D has an old fashioned LCD, it consumes potentially a ton of power just to turn the screen on at all, because it has to light the whole screen just to start. Plus, it uses the MOST power displaying black (least displaying all white), so it would need the opposite behaviour.
[UPDATE]
Ah I see you can make the screen blink, I didn't notice that at first. Might actually be useful then.
i've tested it with the developer of the LG notification app. it seems, that the files which have to be used are'nt writeable. so without root it won't work
perhaps we should send tons of mails to LG, that they make it possible.
Alex Atkin UK said:
[UPDATE]
Ah I see you can make the screen blink, I didn't notice that at first. Might actually be useful then.
Click to expand...
Click to collapse
Also the notifications can have a time limit, i have set at 15mins and haven't noticed any battery drain.
Modified 2X/Black touch led notification app
Hi guys,
I've modified Martin Börjesson's app and now it works on ROOTed O3D and I'll upload it soon.
To-do:
1) fading doesn't work
2) change of brightness doesn't work
What will never work
1) separate LEDs - I don't think there's a way to control each of them, only all 4 LEDs
ztracenyDen said:
Hi guys,
I've modified Martin Börjesson's app and now it works on ROOTed O3D and I'll upload it soon.
To-do:
1) fading doesn't work
2) change of brightness doesn't work
What will never work
1) separate LEDs - I don't think there's a way to control each of them, only all 4 LEDs
Click to expand...
Click to collapse
i am checking every 15 minutes for an update to this
Here it is!
I'm new to android, so I hope the "apk" file is enough for installation:
Fileserve: http://www.fileserve.com/file/qqFjsfS/Optimus3Dnotifications.apk
Mirror: http://home.zcu.cz/~chylek/Optimus3Dnotifications.apk
Source code:
http://www.fileserve.com/file/YvbqKbk/optimus3DnotificationsSRC.zip
Hi
I have a problem with downloading app
Cane you upload to other server
Megaupload or rapid
Thankyou
Sent from my LG-P920 using XDA App

Paranoid Android notification peek

This is paranoid android's notification peek in APK format. Almost same as active display if anyone wants to try it. https://github.com/lzanita09/Notifi...1.0-20140504/NotificationPeekPort-release.apk
Sent from my XT1058 using XDA Premium 4 mobile app
It looks cool but I couldn't get it to work.
Looks really cool but doesn't work on GS4 mini 9190 running carbon rom
reverted back to active display
Link is dead. I had to actually look it up on Google just to see what it was. Overall, it looks nice seems to have quite a bit more functions over Motorola's Active Display. If I can find the .apk I may give it a go.
Latest Build
Found the latest build.
Just had a chance to mess with it. It works, but not real well. The screen wakes up when you get a notification but if you don't open the notification right then and there and let the phone go back to sleep it can not be reawakened just by moving the phone like Active Display. You actually have to turn the screen on via the power button and then unlock the phone to check the notifications bar. I did send myself a bunch of notifications and thought it was cool how I could swap between them. I wish Active Display allowed for that feature. Also, the icons are a lot nicer than Moto's Active Display. Overall, I think this app will be pretty cool once all the bugs are worked out of it.
The Tallest said:
Link is dead. I had to actually look it up on Google just to see what it was. Overall, it looks nice seems to have quite a bit more functions over Motorola's Active Display. If I can find the .apk I may give it a go.
Latest Build
Found the latest build.
Just had a chance to mess with it. It works, but not real well. The screen wakes up when you get a notification but if you don't open the notification right then and there and let the phone go back to sleep it can not be reawakened just by moving the phone like Active Display. You actually have to turn the screen on via the power button and then unlock the phone to check the notifications bar. I did send myself a bunch of notifications and thought it was cool how I could swap between them. I wish Active Display allowed for that feature. Also, the icons are a lot nicer than Moto's Active Display. Overall, I think this app will be pretty cool once all the bugs are worked out of it.
Click to expand...
Click to collapse
That is the intended use of Peek - it is only active for 10 seconds after receiving a notification. In theory, the screen shouldn't wake at all unless you move the device within those ten seconds since it is designed for both IPS and AMOLED screens and prevents unnecessary screen-on time.
severectify said:
That is the intended use of Peek - it is only active for 10 seconds after receiving a notification. In theory, the screen shouldn't wake at all unless you move the device within those ten seconds since it is designed for both IPS and AMOLED screens and prevents unnecessary screen-on time.
Click to expand...
Click to collapse
No what I mean is that with Motorola's Active Display if you wave your hand or move the phone after the notification screen time out it'll show you the notifications again. As long as you don't push the power button to wake and unlock it you can still view the notifications via the Active Display. With the Peek display you get the notification once and then that's it until the next notification. Moving the phone or waving in front of the proximity sensor won't rewake to check notifications from the peek screen.
Don't get me wrong, I like the PA Peek app, I just wish I could check the notifications indefinitely like I do the Active Display. I wish the Active Display would let you cycle through your notifications like Peek. I'll definitely keep an eye on the Peek app, hopefully they get it sorted to where you can wake it by moving the phone or waving across the proximity sensor.
Was this deleted?(Page not found)
Tapatalk - Moto X XT1058
cocchiararo said:
Was this deleted?(Page not found)
Tapatalk - Moto X XT1058
Click to expand...
Click to collapse
No @The Tallest linked the new link for download. https://github.com/lzanita09/NotificationPeekPort/releases
MOTO X
how do you completely uninstall/disable this?
thanks!
The Tallest said:
No what I mean is that with Motorola's Active Display if you wave your hand or move the phone after the notification screen time out it'll show you the notifications again. As long as you don't push the power button to wake and unlock it you can still view the notifications via the Active Display. With the Peek display you get the notification once and then that's it until the next notification. Moving the phone or waving in front of the proximity sensor won't rewake to check notifications from the peek screen.
Don't get me wrong, I like the PA Peek app, I just wish I could check the notifications indefinitely like I do the Active Display. I wish the Active Display would let you cycle through your notifications like Peek. I'll definitely keep an eye on the Peek app, hopefully they get it sorted to where you can wake it by moving the phone or waving across the proximity sensor.
Click to expand...
Click to collapse
Same here, like the moto active display, hope somebody can port that one to Nexus 5?
Sent from my Nexus 7 using XDA Premium 4 mobile app

LED Notification Control?

On my original G Flex I was able to use an app called Light Manager, and that worked flawlessly. It seems Lollipop doesn't want to play nice. One of the features I became most accustomed to was the ability to know exactly what app had a notification before even turning on the screen.
Anybody had any luck controlling their LED color and flash rate based on specific app notifications? If so, what app do you use?
Light Flow
UPDATE:
I got Light Flow working. I'm not sure what exactly I did, but it involved toggling the sound settings until I was on loud (sound on) mode. I toggled the Notification LED switch in the settings. I have Light Flow running in Root mode, but I'm pretty sure it was working before I toggled that. I also have it controlling led:flash_0, led:flash_1, and wled under the Additional LEDs found section.
As LED control was one of the most important features for me, I'm not going to futz any further with what I have working. However, if others experience the issue, they're welcome to try each of these things individually to isolate what actually got it to work.
Lightflow not working with Flex 2
Hey Cmcarboni,
would you be so kind as to post your settings with which your Flex 2 functions with Lightflow?
The led:flash_0 and led:flash_1 I can get to work, but I am just interested in the front notification LED and tried nearly every combination of settings without any success.
Thanks in advance!
Edit: It's the H955 with Android 5.1.1 (V15c-EUR-XX)

Question Led notification light

Howdy!
I am trying to set that when I receive a message, it will show a small notification light on the mobile, like I used to have on previous android, but cannot find any option for it...
Is it possible that a so modern phone does not have it?
Thanks
phaleg said:
Howdy!
I am trying to set that when I receive a message, it will show a small notification light on the mobile, like I used to have on previous android, but cannot find any option for it...
Is it possible that a so modern phone does not have it?
Thanks
Click to expand...
Click to collapse
There's physically no led notification light anywhere on the phone that could light up.
You can search for apps on the Play Store that sort of try to imitate having one, but afaik none of them work reliably anymore.
Lada333 said:
There's physically no led notification light anywhere on the phone that could light up.
You can search for apps on the Play Store that sort of try to imitate having one, but afaik none of them work reliably anymore.
Click to expand...
Click to collapse
well, first of all thanks for informing me... this lackness in 6a really sucks
phaleg said:
well, first of all thanks for informing me... this lackness in 6a really sucks
Click to expand...
Click to collapse
"lackness"
I'm fairly sure that it's been dropped industry-wise for many many years now, much like the 3.5mm jack.
Ambient/Always-on-Display is sort of a replacement for having a notification light though, might want to look deeper into configuring it. I think there's also 3rd party apps that let you configure your AOD even further.
Lada333 said:
"lackness"
I'm fairly sure that it's been dropped industry-wise for many many years now, much like the 3.5mm jack.
Ambient/Always-on-Display is sort of a replacement for having a notification light though, might want to look deeper into configuring it. I think there's also 3rd party apps that let you configure your AOD even further.
Click to expand...
Click to collapse
You can be right again, maybe I am old fashioned but I found it useful.
I initially deactivated the AOD for reducing distractions, but I can activate it again if this is only way to see notification without pushing power button to activate screen again
phaleg said:
You can be right again, maybe I am old fashioned but I found it useful.
I initially deactivated the AOD for reducing distractions, but I can activate it again if this is only way to see notification without pushing power button to activate screen again
Click to expand...
Click to collapse
Don't get me wrong, I used to be an absolute sucker for an led notification light.
Keep in mind that AOD and Ambient Display aren't the same. AOD, as the name suggests, keeps the screen always on, whereas Ambient Display just wakes the screen whenever you receive a notification. I only have the latter turned on.
phaleg said:
well, first of all thanks for informing me... this lackness in 6a really sucks
Click to expand...
Click to collapse
most phones now doesn't have big bezels not only 6a. so where will you put that notification light? the best you can do.. use a rom with an oldschool feature, that will blink flashlight for notification. like this..
ugokzkie said:
common sense, most phones now doesn't have big bezels not only 6a. so where will you put that notification light?
Click to expand...
Click to collapse
There are actually several phones out that also don't have big bezels but there's a tiny notification led hidden behind/next to the earpiece. Common sense.
I use this app:
https://play.google.com/store/apps/details?id=com.jamworks.aodnotificationledlight
You can configure it so that it 'flashes' only a few times when a notification comes in. So far I haven't noticed any battery drain.
Lada333 said:
afaik none of them work reliably anymore
Click to expand...
Click to collapse
Holey light works perfectly;
GitHub - Chainfire/HoleyLight: Notification LED for Samsung/Pixel phones with in-screen camera cut-out (punch-hole)
Notification LED for Samsung/Pixel phones with in-screen camera cut-out (punch-hole) - GitHub - Chainfire/HoleyLight: Notification LED for Samsung/Pixel phones with in-screen camera cut-out (punch-...
github.com
Oh look, its even open source.
96carboard said:
Holey light works perfectly;
GitHub - Chainfire/HoleyLight: Notification LED for Samsung/Pixel phones with in-screen camera cut-out (punch-hole)
Notification LED for Samsung/Pixel phones with in-screen camera cut-out (punch-hole) - GitHub - Chainfire/HoleyLight: Notification LED for Samsung/Pixel phones with in-screen camera cut-out (punch-...
github.com
Oh look, its even open source.
Click to expand...
Click to collapse
Did not know about this app, but I'm gonna check it out, looks super customizable.
Thanks!
Didn't know Notif light for pixel quit working! Has/had a long thread of kudos and all sorts of config ideas etc. in the P6/P6P forums. Been tied up with tons of RL crap and haven't kept up since A12... Jawomo already his coffee tho...go figure.
Zaxx32 said:
Didn't know Notif light for pixel quit working! Has/had a long thread of kudos and all sorts of config ideas etc. in the P6/P6P forums. Been tied up with tons of RL crap and haven't kept up since A12... Jawomo already his coffee tho...go figure.
Click to expand...
Click to collapse
It's still working on my device so i'm not sure i understand your "quit working" remark. Granted, it hasn't been updated in almost a year.
IkkeZelf1000 said:
It's still working on my device so i'm not sure i understand your "quit working" remark. Granted, it hasn't been updated in almost a year.
Click to expand...
Click to collapse
I misunderstood a post...need sleep.
@96carboard : thx for the discovery !
Lada333 said:
I use this app:
https://play.google.com/store/apps/details?id=com.jamworks.aodnotificationledlight
You can configure it so that it 'flashes' only a few times when a notification comes in. So far I haven't noticed any battery drain.
Click to expand...
Click to collapse
Thanks! What I have to set for the option of the AOD?
When I click it, it brings me to display settings and it is already ON for all notifications. I tried to untick and set back, no change
Without that, it does not proceed XD
96carboard said:
Holey light works perfectly;
GitHub - Chainfire/HoleyLight: Notification LED for Samsung/Pixel phones with in-screen camera cut-out (punch-hole)
Notification LED for Samsung/Pixel phones with in-screen camera cut-out (punch-hole) - GitHub - Chainfire/HoleyLight: Notification LED for Samsung/Pixel phones with in-screen camera cut-out (punch-...
github.com
Oh look, its even open source.
Click to expand...
Click to collapse
I will try that too, thanks
phaleg said:
Thanks! What I have to set for the option of the AOD?
When I click it, it brings me to display settings and it is already ON for all notifications. I tried to untick and set back, no change
Without that, it does not proceed XD
Click to expand...
Click to collapse
Not sure how you managed to quote me on that message, as it was not posted by me, but by @IkkeZelf1000.
phaleg said:
Thanks! What I have to set for the option of the AOD?
When I click it, it brings me to display settings and it is already ON for all notifications. I tried to untick and set back, no change
Without that, it does not proceed XD
I will try that too, thanks
Click to expand...
Click to collapse
My settings in aodNotify are set under general / always on display operation mode: don't show
in the device settings the always on display is turned on.
I hope I understood your question correctly...
Lada333 said:
Not sure how you managed to quote me on that message, as it was not posted by me, but by @IkkeZelf1000.
Click to expand...
Click to collapse
Not intentionally... I quoted 2, but created 3 lines, I tried to remove yours but without success for the tag part
Already suggested but 1 more vote for HoleyLight.
Chainfire is a community member and respected dev and the app is pretty configurable. Should probably cover your needs nicely.

Categories

Resources