yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] biosxjj:
:DOK,you just need set bkl1 to 4 and reboot, if you know it's normal value.
[Windows Mobile Apps and Games] Sleuth255:
ahhh... even easier fix.
[Windows Mobile Apps and Games] biosxjj:
Raise up。。。。。
[Windows Mobile Apps and Games] biosxjj:
waiting for bugy。。
[Windows Mobile Apps and Games] 4D3:
Hi,

Can i just ask if these are the SDKCerts? (The same ones used for installing custom taskbars?)

thanks for your help

MG
[Windows Mobile Apps and Games] hlm818:
I'm sorry, but I'm having a hard time understanding the first post. I currently have 1.7e. The only function I use is when I push the power button on my fuze to shut off the screen, when i wake the phone up (push the power button again), the phone is locked. This is working fine for the most part on this version. Sometimes, when pushing the power button to wake th phone up, I cannot slide to unlock right away. Sometimes it is up to 15-20 seconds before it lets me slide. I would like it to be as instaneous as possible (ie, push power button to wake up phone and immediately slide to unlock without delay)

First, do I need to update to the newer version? Would this fix my current problem with delay?

Second, do I have to uninstall the old version before installing the new version? I thought I read something about a hard reset and I just flashed and set up, so I definitely do NOT want to hard reset my phone.

Any advice is appreciated.

Thank You.
[Windows Mobile Apps and Games] biosxjj:
Sometimes it is up to 15-20 seconds before it lets me slide.

I don't find this bug. so try new 1.9a

yes, you must uninstall old one.

delete smartlockdll.dll smartlockcpl.cpl in windows.
[Windows Mobile Apps and Games] biosxjj:
if it work well .I think it is.

the certs is windows mobile SDK 6.0 .
[Windows Mobile Apps and Games] Sleuth255:
They definitely are the SDK certs and will enable custom taskbars.
[Windows Mobile Apps and Games] Event2k:
debug report

SmartLock-1.9A-ENU

some time: when ac on, screen still turn off one time(delay several second)
[Windows Mobile Apps and Games] biosxjj:
two possible:

its is a faults of os

when AC plugin，device will on ，then time tick start。。but no message send.

sometimes ,the power status change msg received by app untill time tick out especially connect with microsoft activesync

set long delay time 。。。

2 maybe it turn off by os and not by app.
[Windows Mobile Apps and Games] dinosaur3000:
finally, you add the options I had begged for but u denied :P now it poweroff after lock and separate the old 2 options. greate apps!!
[Windows Mobile Apps and Games] biosxjj:
I hadn't denied..:D

thank you for suggesting
[Windows Mobile Apps and Games] hlm818:
Quick question. What options do I tick to have it lock when I push the power to shut screen off and when I turn phone from sleep back on with power button, the phone is now locked? The options are different than before. Thank You.

I also have one more question, I have my own set of icons I use for the start menu regardless of what ROM I am on. SmartLock is the only icon I cannot change. I've added the key in the registry, I've tried replacing the icon in \windows (named the same as the original but my icon) and tried using JWMD Icon Changer to scan unregistered shortcuts. None of these have worked for me. If you could tell me how to change the icon for this program in the startmenu, that would be awesome :D This is the one I would like to use
[Windows Mobile Apps and Games] biosxjj:
yes It's lock .dim<screen off< suspend

try check 4 and 9

which rom of your device?

6.1 or 6.5?if it is 6.5 rename it with Start_Icon_SmartLock.png

and copy it to windows,
[Windows Mobile Apps and Games] hlm818:
Ok that worked, thank you:)

I have Energy ROM 6.5, see my signature for exact ROM. This worked. I don't know why, but that is exactly what I did when I had version 1.7E and it didn't work! Oh, well it is changed now. Thank you for a great app that makes my fuze even better:D
[Windows Mobile Apps and Games] biosxjj:
up ........
[Windows Mobile Apps and Games] greenskeeper805:
Thank you for this wonderful software! Hopefully M$ will see this and learn from it!
[Windows Mobile Apps and Games] biosxjj:
:p :D

. It's my pleasure
[Windows Mobile Apps and Games] biosxjj:
:D:D

...it is related to OEM drivers,but there is no Mandatory standards.it isn't like pc

Maybe MS will do .
[Windows Mobile Apps and Games] iggy:
Hi biosxjj, quick question, is it possible to force more that one appointment to show on the lock screen and if not what is it looking because I have no appts. showing but I have an appt. 4 days from now (I thought the standard was 7 days).
[Windows Mobile Apps and Games] biosxjj:
:)I have no idear . it shows appt of today.
[Windows Mobile Apps and Games] dinosaur3000:
hard key lock

could you add 1more function? Disable buttons lock. In some cases it's easier to answer or deny call by pressing a button than sliding on the screen. That would be perfect!!!

Love your Smartlock!!!
[Windows Mobile Apps and Games] rjmjr69:
How can you lock screen but keep music or pictures playing in tf3d and windows?
[Windows Mobile Apps and Games] biosxjj:
do not check Energy Optimization:D
[Windows Mobile Apps and Games] biosxjj:
no problem So simple。:D
[Windows Mobile Apps and Games] ColdFire_:
Just a suggestion, can you make enable/disable for the function of the delay timer? Example; now is set to 6 seconds then it will autolock, if I set 0 seconds the function will be disable :) Btw, thank for the software, it's a great addon to my phone :)
[Windows Mobile Apps and Games] biosxjj:
I want to fix a bug when a call incoming ,show a notify window .I wan't to block it show .

but I need it 's name with different language.

for example

0804

电话 - 拨入

0409

Phone - Incoming

I need :

other languages. and language code: e.g 0804

:D:D:D:D
[Windows Mobile Apps and Games] biosxjj:
autolock? standy-by?

0 means no delay .standy-by when lock be careful of setting 0 ,such a short time you can't unlock it ..

.uncheck 9 row to disable standy-by .
[Windows Mobile Apps and Games] ColdFire_:
Thanks for the fast reply :)
[Windows Mobile Apps and Games] 4D3:
Thankyou!

MG
[Windows Mobile Apps and Games] brol1k:
IM having an issue with the last version, I like for the lock to activate when I press the power button to put phone in standby and/or when it goes on standby by itself, which do I check as im having as issue setting this up?
[Windows Mobile Apps and Games] biosxjj:
check 4 and 9
[Windows Mobile Apps and Games] Punker:
0804

电话 - 拨入

0409

Phone - Incoming

0419

Вызов - Входящий
[Windows Mobile Apps and Games] biosxjj:
thanks.I will copy this to code.

Please do not update right now .if Rom is not 0409
[Windows Mobile Apps and Games] dinosaur3000:
really appreciate! waiting for that version!!!
[Windows Mobile Apps and Games] brol1k:
thanks bro I really appreciate it, and love ur work
[Windows Mobile Apps and Games] mhurg:
Uh.

Installed latest version, 1.9B and the screen flashed a couple times.

Now my TP2 won't turn on its screen. No matter what I do it's dark. What the hell is happening? I can tap the power button and the screen lights up for 1 second, then it's dark again and I can't get it back on for a few seconds.

EDIT: Fixed it by calling my phone from my wifes phone... Turns out typing 60 seconds lock delay somehow made it into 0 seconds, permanently locking the phone. Imo this shouldn't be possible at all to do, so idiots like me don't mess up the phone.

EDIT 2: Uninstalled the Smartlock, then reinstalled it. Now the 6.5 lockscreen won't work at all, which it did with my old smartlock... I have to uncheck "6.5 New lock" and just use the old one. Why is that?
[Windows Mobile Apps and Games] 4D3:
hard reset your phone! this app has messed my device up once or twice!

I find that when i uninstal it sometimes, but not always, it completely destroys the WM6.5 lock and reverts back to the normal WM6 lock (With the "Tap Unlock" screen!

Other than that i can only suggest, uninstall it, reboot your device, select to use the WM6 default lock, reboot your device, install SmartLock 1.9B again and see what happens!

MG
[Windows Mobile Apps and Games] SolidSol:
I have HTC Touch Diamond 2 with official WM6.5. This tool is working properly after installation. But if I'm reboot the device, the tool becomes inactive and I have not found a way to activate it.

Could you please help?

Thanks in advance.
[Windows Mobile Apps and Games] biosxjj:
START MENU_ SETUP--sys
[Windows Mobile Apps and Games] SolidSol:
I know where the setup of the program. And I have tried different options including "Boot startup screen lock". But this doesn't help. Do you have any idea why?
[Windows Mobile Apps and Games] biosxjj:
Are you install certs.cab？
[Windows Mobile Apps and Games] 4D3:
Hi,

here is my little experience! I had 1.9A installed, i tryed to uninstall it and it failed. so i tryed to install 1.9B over the top of it and it failed.

so i rebooted my device and tryed to uninstall/re-install and it failed both times.

I had to hard-Reset my device to get rid of 1.9A and move to 1.9B.

Comments on 1.9B: really nice, but the sound you have used lags very much, eg, when locking the screen can dim, the lock comes on and 30-40 seconds later you get the lock sound, also the same with unlocking.

yesterday i unlocked, started typing a SMS pressed send and then the unlock sound played!

Really good work though! Happy Xmas

MG
[Windows Mobile Apps and Games] john_smith:
please, where it´s the configuration page? i´ll try to find it but not ?

thanks..

update: ok, on system settings, well, on spbshell->configuration->system not appears, this was the problem for me, i need to go to main screen today and then menu-settings-system and then it´s here.

thanks and sorry for my english
[Windows Mobile Apps and Games] mhurg:
I'll try that, thanks :-)
[Windows Mobile Apps and Games] Sleuth255:
@biosxjj: you are working so hard on this app, responding to everybody and trying to add their requests, that I'm tempted to ask if you can put an option in to have it make toast! jk.... :):)

Seriously. Thanks for your hard work and Merry Christmas to you!
[Windows Mobile Apps and Games] biosxjj:
Sorry,fo my english

what are you mean?

Merry Christmas
[Windows Mobile Apps and Games] zwxjly:
中文版的也发这里吧！！！！
[Windows Mobile Apps and Games] biosxjj:
中文版不会发布了:d
[Windows Mobile Apps and Games] biosxjj:
30-40?

maybe cpu is too busy.

it start play when lock or unlock right now.

but app can't guarantee it play right now。。

sometimes it delay 3 to 4 seconds especially lock run first
[Windows Mobile Apps and Games] karaern:
as better this program is impoved much memmory will consume...at last we will have smth like s2u2!! best screen software,but consumes so much memory that deserves to be uninsatalled.

dont wanna discorrage u but i wiill use v1.7. because of the simple fact that consumes too less memory with respect to v1.9B
[Windows Mobile Apps and Games] biosxjj:
:D:D

..don't warry about it.
[Windows Mobile Apps and Games] biosxjj:
there are a bug with unsintall app with 1.9A and 1.9B .
[Windows Mobile Apps and Games] biosxjj:
UPDATE..........:)
[Windows Mobile Apps and Games] biosxjj:
UPDATE .........
[Windows Mobile Apps and Games] dinosaur3000:
it seems you haven't added an option to exclude hard button lock for accepting/rejecting call :( in 2.0A release. Maybe it will appear in next release :)
[Windows Mobile Apps and Games] biosxjj:
:D do not worry about it ..

next ...

it 's more important for excluing list
[Windows Mobile Apps and Games] elgar:
Hello,

Can't understand, why I need certs.cab. Do I need to install it or not? Can't find any answer in the first post.
[Windows Mobile Apps and Games] biosxjj:
I don't know why. Maybe for security and dollars. You should ask MS.
[Windows Mobile Apps and Games] chiekh:
French

This is the french state reg. Thanks.
[Windows Mobile Apps and Games] biosxjj:
??Are you find twice lock?
[Windows Mobile Apps and Games] chiekh:
Yes i have a twice lock too.
[Windows Mobile Apps and Games] biosxjj:
Nothing different from mine.

I think it hard to debug only if I find this bug。:D

I don't find it in S1 O2 mini and simulator。:(
[Windows Mobile Apps and Games] chiekh:
I think that this App. uses a lot of CPU ressource because my Touch HD become very slow and when i desinstall SmartLock all works with no problem thanks.
[Windows Mobile Apps and Games] biosxjj:
thank you for test ..

may it is conflict with other apps
[Windows Mobile Apps and Games] Jizzay1:
Anyone else having a hard time getting SmartLock to work? i've tried both 1.7E and 2.0 and neither will lock the screen when i put the phone in standby. Maybe my settings are incorrect. I have WM New Lock and Stand-by Trigger Lock Screen enabled. still nothing. With 2.0, the screen keeps going black after 5 seconds. Changing the timing out fixed that, but still no lock.
[Windows Mobile Apps and Games] kperi:
Anybody know if this app support the HD2-LEO????????????????

Thanks a lot.
[Windows Mobile Apps and Games] biosxjj:
:D

:eek::eek:what rom?
[Windows Mobile Apps and Games] biosxjj:
I do not know. you'd better try it .
[Windows Mobile Apps and Games] brol1k:
WHen I install this on my sprint TP2, it makes it hang on bootup screen.
[Windows Mobile Apps and Games] biosxjj:
I find this bug.

when do a hardreset .the reg of active will be clear

when first run 6.5 lock screen, it create this reg value.

But if do a hardrest and install 2.0A then reboot without run lock app .

in the boot progress ,it will try open active reg value .but it is not exist.so it show a message box,but you can't see it ,because, windows donot finish boot ，So it hang.

it will be fixed next version.

you run app one times and install then reboot
[Windows Mobile Apps and Games] n1958:
This person moral behavior is bad...
[Windows Mobile Apps and Games] biosxjj:
？？？？？？？？？？？？？？？？？？？？
[Windows Mobile Apps and Games] biosxjj:
waiting for bug report
[Windows Mobile Apps and Games] n1958:
Не смогите понять английскую язык?
[Windows Mobile Apps and Games] biosxjj:
我不懂俄文:d:d:d
[Windows Mobile Apps and Games] biosxjj:
All the idle time ,debug debug debug...

:D
[Windows Mobile Apps and Games] EazyVG:
It ran fine untill I updated my Touch Pro 2 today with that of Leo Manila 2.02 ((1922xx) based ROM (more specific EnergyROM), now it makes the phone freeze on bootup after soft reset, which led me hard-reseting the phone.
[Windows Mobile Apps and Games] n1958:
那就和你说说中文

据说你在中国大陆的Windows Mobile论坛都混不下去了.到哪里都被封IP和ID.是否是这样？

很多中国大陆的Windows Mobile网友都质疑你这个人的道德品质.是否是这样？

这款应用程序在中国大陆无人愿意使用.即便它是免费的.众人也不屑一顾.是否是这样？
[Windows Mobile Apps and Games] apeko:
on my touch hd the hard keys are not locked during a call. one touch of the end key disconnects the call. All the soft key on the lock screen need to be slide keys!
[Windows Mobile Apps and Games] biosxjj:
try new...
[Windows Mobile Apps and Games] biosxjj:
首先 你所获取的信息不是事实， 也不可能是事实，软件面向的用户群也不只是中国大陆，软件没有国界。

如果你恶意来挑衅 恕不奉陪。这个免费软件有没有人使用也与你无关。

我不知道你是谁 我想我不认识你。

我想你说的话 我也可以对你说

据说你在中国大陆的windows mobile论坛都混不下去了.到哪里都被封ip和id.是否是这样？

很多中国大陆的windows mobile网友都质疑你这个人的道德品质.是否是这样？

大陆很多人用 但是有的大陆人恶意篡改软体攻击作者，并用作商业目的。这些都是卑劣的行为，我期望你没有这样卑劣的行为。

但实际情况是

软件有许多人用 即使是英文版 汉化版本 大陆也很多人，大陆还是有许多用英文rom的人。

2.0b英文版即将发布了 欢迎使用，不过你要是用中文的rom,那么将不会兼容英文版本。简体中文版由于版权问题 已经停止跟新。

如果你不满 没有0804版本 而恶意攻击，那么我很抱歉。

但是若你恶意中伤攻击，我将不予理睬。这样的行为只能说你的个人素质有问题，并不影响我本人及其软件的用户群

对于你的任何问题 我不在回复，因为这纯粹是在浪费我时间。

我的业余时间是用来开发软件 和大家共享，当然并不包括侵犯他人权利的人。
[Windows Mobile Apps and Games] biosxjj:
upupup.........:D:D
[Windows Mobile Apps and Games] apeko:
I am using 2.0A
[Windows Mobile Apps and Games] apeko:
tested 2.0B when connect to call if i press end key the call disconnects. I have the option checked to disable keyboard.
[Windows Mobile Apps and Games] 4D3:
I have HD2 and this works fine!

English!!!
[Windows Mobile Apps and Games] jamirolandia:
i'm install the last 2.0b version and my diamond is block on bootup image. i cant make hard reset by hardware keys :mad: i've reflash by bootloader and usb connection. i was lucky. almost brick:o
[Windows Mobile Apps and Games] biosxjj:
Are you check incall or outcall.//?

you must check them.

Or

I think your dial app will enable key after smartlock disable key.

A method is using hook to disable it .But some apps have it using.
[Windows Mobile Apps and Games] biosxjj:
I 'm sorry .I forgot to say that 6.1 OS will hang on booting.Some function will return false and show a message box .But you can't see it because it have not finish boot.So it hang there.
[Windows Mobile Apps and Games] biosxjj:
2.0C is same as 2.0B just add a reg value named Enable
[Windows Mobile Apps and Games] karaern:
not working

i try the lates one 2.0C on my htc leo and although i checked "lock on dim" and unchechted all other options (dont want to use them) it definitefine not working

phone goes to dim and nothing happens.

yes i checked the reg setting written on 1st page and set to 4.result-nothing changed
[Windows Mobile Apps and Games] biosxjj:
I'm sorry .thank you for your try .

you can try old release and install old certs.cab or using other apps

Thanks :D

it is related to OEM drivers or it is related to MS sign or it is related to ROM
[Windows Mobile Apps and Games] karaern:
ver 1.7E

ok now i uninstall the lates one and install the ver 1.7E

for now it seems to work (at least) the problem here is that wjen the screen gets dim >>it locks (till her O.K). but when u unlock the screen within 5-6 secs the next locking doesnt occur, instead of this screen goes blank (shut downs) in 10-15 secs after the 1st unlocking. afterwords when i press any hardkey the screen comes back but unlocked (here smth is going wrong):confused:

actually program is not working in this stage. as a next try i lock manually the phone and when i unlock it the programs starts to work again.

i didnt check the option suspend after lock (anyway it doesnt make difference, after locking the phone goes on suspend in 5-10 secs)=means that option is not working.

Personally i prefer ver.1.7E=at least it works with the above bug/much smaller than latest version

if u can correct the above problem, maybe this ver 1.7 can be smth like light version !;)
[Windows Mobile Apps and Games] biosxjj:
:D

I m sorry for my english ,but i can't understand what your description completely.

It just lock one times when dim timeout ,when you unlock it ,it doesn't lock again,but device still dim ?

Thank you for your report.

It is hard to make app works well on all device.I havn't many devices for testing.

Before debug ,I have to find the bug and trace it .Unfortunately,I haven't found it at all.The bug doesn't show on my device

.

The app from 1.8 to 2.0 is different from 1.7.

Light version is good idears but I lost the codes of 1.7.

The problem of 1.7 is that when device dim then lock app will make it on ,so you can see the screen blink .
[Windows Mobile Apps and Games] jamirolandia:
hello biosxjj, thanks for the reply. can you tell me a working version for WM 6.1?

thank you
[Windows Mobile Apps and Games] biosxjj:
try 2.0c

...happy new year
[Windows Mobile Apps and Games] jamirolandia:
thanx now work :)
[Windows Mobile Apps and Games] Alex-V:
the old lock

Don´t know if the question is still in the thread but 73 sites... :)

for titanium i use new lock and for m2d i will use the old lock...but i´m use (see my signature) wm6.5.3 with new gui and startmenu button on bottom taskbar... and the startmenu button with the old way of lock is not locked...

Did anyone have a tip for me...??

(Hope anyone can read my english...sorry for i´m german)

Thanks.... :)
[Windows Mobile Apps and Games] biosxjj:
stop 10 hours

Im sorry Please uninstall 2.0C and waiting for new
[Windows Mobile Apps and Games] akaGizmo:
Password lock feature?

Can you implement password locking IN Smartlock?

When we slide to unlock, Smartlock could prompt us for a password. Not sure if you can display a keyboard, or if you'd have to implement a keypad as well.

(X) Use Password: 12369

. . .(X) Password-lock on Boot startup screen

. . .(X) Password-lock if phone unused for (in minutes): 240

(X) WM6.5 new lock

(X) Backlight trigger lock screen

( ) Stand-by trigger lock screen

(X) Incall lock

( ) Outcall lock

(X) Outcall connected lock

( ) Keep enable when charging

(X) Lock screen then stand-by

( ) Energy optimization

(X) Enable lock sound

(X) Disable hardkeyboard when using tel

( ) Blink LED when talking

Delay time: 6 Seconds
[Windows Mobile Apps and Games] biosxjj:
oh I find serious bugs .So Please try 2.0D
[Windows Mobile Apps and Games] biosxjj:
serious bugs.

stop 10 hours

Im sorry Please uninstall 2.0C and waiting for new:(
[Windows Mobile Apps and Games] biosxjj:
thank you for you suggest.I think it is wonderful 。it is hard to draw gui for me.

how about hardkeyboard password unlock?such as a group up up down down ok ok .........unlock
[Windows Mobile Apps and Games] apeko:
I there a way when connected to a call to have the win 6.5 lock only not the other incall screen. And the keys still do not lock. using 2.0B touch HD.
[Windows Mobile Apps and Games] biosxjj:
thanks you 。。

The only method is using kbd hook to disable.:D

But only one app can using hook in mobile 6.5.:(

waiting for next
[Windows Mobile Apps and Games] capoccia:
In my kaiser (wm6.1, rom shifu v20N), the version 2.0x version doesn't work fine!!

I returned at 1.9A !

Can you add " unlock when hardware keyboard exit"?

Thanks !

Great job!
[Windows Mobile Apps and Games] biosxjj:
unlock when hardware keyboard exit? what 's mean
[Windows Mobile Apps and Games] jamirolandia:
ok thanks I've updated 2.0d
[Windows Mobile Apps and Games] cybersolo:
2.0d after soft reset not working anymore. anything wrong?
[Windows Mobile Apps and Games] biosxjj:
sign?~~~~~~~~~~~~~~
[Windows Mobile Apps and Games] cybersolo:
nope, didn't sign. Just flashed with WM6.5 21618 LG electronic ROM from rickou.

but 2.0a is working perfectly even after soft reset.
[Windows Mobile Apps and Games] biosxjj:
try sign/:D:D:D:D:D
[Windows Mobile Apps and Games] jamirolandia:
for me work..but i've wm 6.1

biosxjj..incall lock don't work?
[Windows Mobile Apps and Games] cybersolo:
done, signed, seems working even after soft reset, thanks. :)
[Windows Mobile Apps and Games] biosxjj:
Is it OK?

:D:eek::eek:

work well.
[Windows Mobile Apps and Games] TheBeO:
Very nice tool ;-) I love it

Maybe you can add one function : unlock with lightsensor. As you can lock when light turn off, just add an unlock option on light on :

You turn on your phone, it is lock but it detects light (a minimal value is needed) and so it unlocks the phone !

Thank you in advance if you can add this function :8
[Windows Mobile Apps and Games] biosxjj:
unlock when turn on?
[Windows Mobile Apps and Games] jamirolandia:
when someone call me..the display is not locked...but the hardware keys yes..I want to do the opposite

i've check in options 'incall lock'..and hardwkey is not cheked but dont work

i have wm 6.1..and these are my options on 2.0D:
[Windows Mobile Apps and Games] TheBeO:
Yes unlock after turn on if there's is enought light (ex: you get out your phone from your pocket, turn on and voila! unlocked because you are in a lightening environment).

Is it possible?
[Windows Mobile Apps and Games] biosxjj:
So advance ?:D

iturn on, the black light still dim? acording light sensor?:eek:
[Windows Mobile Apps and Games] twu2:
I think 2.0d still have problem...

I can't hear any lock/unlock sound over one night, it stop work? or still work without any sound?
[Windows Mobile Apps and Games] biosxjj:
I don't know。

Ican hear～
[Windows Mobile Apps and Games] biosxjj:
Find a new bug again～:D
[Windows Mobile Apps and Games] TheBeO:
Yes we can have 2 options:

- unlock with lightsensor

- lock with backlight dim

You may check this http://www.zuinigerijder.com/Settings.html#4.2 for an exemple of lightsensor function

I've added you to Messenger if you want to chat about this (but I'm in France and you seems to live in China so take car of current time!)
[Windows Mobile Apps and Games] chiekh:
For French

Please for french language 40C the windows title is "Téléphone". Thanks
[Windows Mobile Apps and Games] 4D3:
this is a bad idea, it will cause battery drain if you want light sensor locking use Touhlock!!

MG