Thread
:
Automatically lock whenever the N810 light sensor is covered
View Single Post
Dusty
2008-04-17 , 17:31
Posts: 16 | Thanked: 25 times | Joined on Dec 2005
#
30
Wow. A lot of discussion over my simple program
Thanks for the suggestions. I thought about adding something to prevent quick lock/unlock cycles, but it didn't seem worth it, as I didn't have any trouble with it, and it might not lock/unlock when you want it too (when slipping the NIT out too check the weather quickly). Right now it also turns the screen on when uncovered - maybe that wasn't a good idea.
The program was designed for people (me) who put the NIT in a thick cover (like the one that comes with it) when not using it - the light sensor reads 0 lux in all but direct sunlight when in the gray cover.
I also suggest anyone that uses it read
the web page
or check the source code (it's short).
There's two ways to disable autolock: either use the lock button or slide out the keyboard.
I consciously tried to avoid any configuration options to make it easy to use.
I also hope it works as a proof of concept to Nokia, so they include something like it in later OSs.
Last edited by Dusty; 2008-04-17 at
17:59
.
Quote & Reply
|
The Following 10 Users Say Thank You to Dusty For This Useful Post:
alephito
,
anidel
,
disq
,
Dmitri
,
Faz
,
rkopper
,
rone
,
Tabster
,
XTC
Dusty
View Public Profile
Send a private message to Dusty
Find all posts by Dusty