FORUMS

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

The Atlas of XDA

A few weeks ago, we asked you “How Does Your Location Affect Your Life As A Power User?”. In the days that … more

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 … more

Google To Launch Next Gen Android One On July 14

The first gen of Android One devices to be launched in India in September 2014 were … more

[2.3+]NightLamp: Sleep better at night!

150 posts
Thanks Meter: 257
 
By icechen1, Senior Member on 23rd July 2013, 11:07 AM
Post Reply Subscribe to Thread Email Thread
NightLamp turns your phone into an intelligent night light and clock, allowing you to sleep with ease.

If you need a little bit of light before going to bed, this app is perfect for you! It will automatically fade to black after at a preset time. Woke up during the night? Simply tap the screen or activate one of the sensors to turn the light back on again.

If you need a brighter light to move around the house, just flip the phone over and the flashlight will turn on! Woohoo!

You can control the light using various sensors on the phone:

-Flip the phone over to activate the camera flashlight
-Shake the phone to toggle the screen
-The phone responds to the ambient light, turning on and off as needed
-Voice recognition to turn the light on/off using hotwords
Note: Voice recognition is very beta right now.




***Alpha software, may blow up.***
The Android API that involves camera and sensors is a pain to support on all devices, because there is no unified way to do something like turning on the flashlight. So it would have to be supported for each phone model, which takes some time, so be patient as I work the kinks out.

Please do not give negative reviews due to crashes, because this app still needs testing to support a lot of devices...
If you do use the app, please do shoot me an email about your experience with it if possible
Tested to work on Galaxy Nexus so far.

Play store link
Last edited by icechen1; 23rd July 2013 at 11:11 AM.
The Following 10 Users Say Thank You to icechen1 For This Useful Post: [ View ]
 
 
25th July 2013, 05:50 AM |#2  
Senior Member
Flag vadodara
Thanks Meter: 105
 
More
Some word on power consumption please....
25th July 2013, 11:49 AM |#3  
icechen1's Avatar
OP Senior Member
Thanks Meter: 257
 
Donate to Me
More
Quote:
Originally Posted by RmatriX1218

Some word on power consumption please....

Since it puts the screen at full brightness for a while, I highly recommend hooking the phone to a power source. If you have an AMOLED screen, the power drain from the app while the screen is dim would be small, but it would still drain the battery faster than if the phone is sleeping.
29th July 2013, 12:29 AM |#4  
Zibri's Avatar
Senior Member
Thanks Meter: 30
 
Donate to Me
More
as I tap on Start, it shows a grey clock on white background but I hear a continuous BEEP once every second almost. Galaxy S4 GT-I9505 latest stock firmware ITV
that's the sound the voice recognition beeps to tell you it's listening.
disabling the voice recognition, the sound goes away as well.
You should also enable the android power saving so to reduce cpu and network usage like it almost does in standby.
Nice little app.
Last edited by Zibri; 29th July 2013 at 12:36 AM.
The Following User Says Thank You to Zibri For This Useful Post: [ View ]
29th July 2013, 04:14 AM |#5  
icechen1's Avatar
OP Senior Member
Thanks Meter: 257
 
Donate to Me
More
Quote:
Originally Posted by Zibri

as I tap on Start, it shows a grey clock on white background but I hear a continuous BEEP once every second almost. Galaxy S4 GT-I9505 latest stock firmware ITV
that's the sound the voice recognition beeps to tell you it's listening.
disabling the voice recognition, the sound goes away as well.
You should also enable the android power saving so to reduce cpu and network usage like it almost does in standby.
Nice little app.

Google borked the speech recognizer code in recent versions (since Android 4.1) with a forced beep sound, I tried to mute it but it doesn't seem to work uniformly across devices, so I will have to change the speech recognition engine in the future.

I will look into power saving, thanks for letting me know!
29th July 2013, 06:05 PM |#6  
Zibri's Avatar
Senior Member
Thanks Meter: 30
 
Donate to Me
More
You're welcome!
29th July 2013, 06:17 PM |#7  
Senior Member
Thanks Meter: 962
 
More
very nice UI =)
2nd August 2013, 11:10 AM |#8  
icechen1's Avatar
OP Senior Member
Thanks Meter: 257
 
Donate to Me
More
Quote:
Originally Posted by Zibri

as I tap on Start, it shows a grey clock on white background but I hear a continuous BEEP once every second almost. Galaxy S4 GT-I9505 latest stock firmware ITV
that's the sound the voice recognition beeps to tell you it's listening.
disabling the voice recognition, the sound goes away as well.
You should also enable the android power saving so to reduce cpu and network usage like it almost does in standby.
Nice little app.

Added a new version where you can swipe the screen to adjust brightness of the front light. Additionally, speech recognition is no longer enabled by default due to bugs.
15th August 2013, 06:34 AM |#9  
Member
Flag BC
Thanks Meter: 14
 
More
Cool app. I ended up using it for reading so I don't have to turn a light on but if I fall asleep then it'll fade down and all is well.

Works well on an Asus TF101 running 4.2.2 (katkiss v224 based on eos4). I can confirm the continuous beep bug too with the volume to silent fix.

One thing that would be awesome down the road would be to have a continuous fade of the display brightness over the course of the time you set. For example say you set the fade for 10 minutes, three minutes in it'll have reduced to 70%. Don't know if it's doable but it's just an idea.
15th August 2013, 07:49 AM |#10  
icechen1's Avatar
OP Senior Member
Thanks Meter: 257
 
Donate to Me
More
Quote:
Originally Posted by mmm.waffles

Cool app. I ended up using it for reading so I don't have to turn a light on but if I fall asleep then it'll fade down and all is well.

Works well on an Asus TF101 running 4.2.2 (katkiss v224 based on eos4). I can confirm the continuous beep bug too with the volume to silent fix.

One thing that would be awesome down the road would be to have a continuous fade of the display brightness over the course of the time you set. For example say you set the fade for 10 minutes, three minutes in it'll have reduced to 70%. Don't know if it's doable but it's just an idea.

Sounds like a nice improvement, I'll look into it.
Post Reply Subscribe to Thread

Tags
android, app, night lamp, sleep, tool
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes