create an Ambient Light level detecting condition
A condition that can check the ambient light level of the phone's surroundings using the camera.
The functionality already exists on the Android Market in the Ambient Light Level application which changes the brightness of the screen based on the brightness of your surrounding. And it works well.
Potential uses would be that it knows when you're in bed at night or when the phone is in your pocket.
Given that this is a hack for specific devices that lack an ambient lighting sensor (e.g. G1, Tattoo, and a few others), this feature doesn’t make sense at this time.
The good news is that Locale 1.0 is compatible with phones that have an ambient lighting sensor built in (such as the Droid, Nexus One, etc.)
There is also the possibility that a 3rd party developer will create this feature as a plug-in condition for Locale 1.0.
3 comments
-
Sturmeh
commented
It's important to note that locale can only change brightness when you unlock so it would have to check the light the second you hit the end key, which is what the APK does, any other condition wouldn't really pair with it.
-
janiskfp
commented
The apk on the market only works with the Android camera app, not the HTC camera app (which I like much better). It would be cool if Local could use the hardware directly, but I imagine it might be more time-consuming to implement that.
-
Royalness
commented
This really seems like a very smart idea, but wouldn't it slow down the phone in the first few seconds?
Also, I think Locale already knows an On Unlock feature, because I notice that my GPS always becomes active when my phone is turned on.