yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] carloshdez:
I made it work in my diamond exactly as I wanted to :)

Cheers!!!
[Windows Mobile Apps and Games] chrisstavrou:
Hi,

if it is switching to SPB during call, try using the latest SPB as on mine the older version of SPB was activated byitself when a lock was applied.

After i installed the latest version then it stopped this behaviour.
[Windows Mobile Apps and Games] drvdijk:
I'm having exact same behavior here. Still have to test if this is annoying for me (using the program for exactly 10 minutes now). It already beats S2U2 as far as I'm concerned :)
[Windows Mobile Apps and Games] rvmax:
Ok for exchange server policy i'm currently trying, I will give you my feedback tomorrow because exchange policies are forced every 24 hours.

But first remark CSDEVCTRL don't force the lock settings to disable at first startup. So I edit myself the registry settings and disable it. Now wait for next policies enforcement.

And another suggestion is there a possibility to unlock on stylus remove ?

Thank for your work.
[Windows Mobile Apps and Games] camro:
is it possible to make an option, that on active dialer (if a phone call is starting), that the screen switch to dialer screen ? (info dialer screen) ?

because if i set spb mobile shell to get active, then spb mobile shell is always active on locking...

is this possible for you to make an option for that ?

cu camel
[Windows Mobile Apps and Games] craiglay:
Hi Chris,

3.28 is well good, like the lock only on today option.. My XDA now won't lock on wake if its not on the today screen. Is it possible to lock the device on wake regardless of running programs while "lock only on today" if the device is already on.

Many thanks.
[Windows Mobile Apps and Games] ucramos:
B. (Stand-alone) Turn on Bluetooth if a call is being dialed or received. Then switch it off after

the call has ended and the headset is not connected.

Usefull if you have a bluetooth handsfree kit in your car and you do not want to keep on turning on/off

the bluetooth.

1- I would love a feature that would turn on the bluetooth when a call is coming or when you´re making a call, and after the call is ended, the bluetooth would ALWAYS turn itself off. This would help me and many others who only use a bluetooth headset to save battery life.

2- I think that would be much appreciated a feature to "run after power on". This would be excellent because everytime i reboot my device, i have to remember to run the application.

I´m using this awesome application for 3 days now... and i´m loving it :D
[Windows Mobile Apps and Games] chrisstavrou:
Hi thanks for the comments,

as a clarification:

Currently using the TurnOnBlueToothRingCall and TurnOffBlueToothifHeadSetNoCon it will

- Turn on bluetooth for incoming or outgoing call

- Turn off bluetooth if no headset connection is available.

You would rather turn off the bluetooth right after the call is over irrespective of the headset still being connected ?

For the startup i am working on it.
[Windows Mobile Apps and Games] chrisstavrou:
I am preparing the latest version to do what you are asking.
[Windows Mobile Apps and Games] chrisstavrou:
Working on it mate :)
[Windows Mobile Apps and Games] chrisstavrou:
Yes it does not reset on run, but it should reset it if it changes while it is running.

As for the stylus i am not sure that it can be recognized: that the stylus has been removed from the device. I will check it.
[Windows Mobile Apps and Games] bluejay:
Hi Chris,

thank you for implementig this 2 new options. Will test it this week.
[Windows Mobile Apps and Games] excepti0n:
Recap

I just bought a Diamond, put on 1.97 as a firmware and not much else... and I find this to be a really annoying problem. I already lost a call from a client.

Reading through the entire thread there seem to be the following attempts at a solution:

S2U2:

Basically a skin to function like the iPhone unlock-to-slide function. While that's a good ideal, the execution lacks. It sits on top of the TouchFlo interface and is not remotely as nice looking as that. Additionally it forgets to lock one of the buttons... which is just... silly.

Using the PDAVIET dialler:

I've tried to research this, but this is pretty unclear. PDAVIET is a full ROM and I doubt anyone will divert from their own ROM to install a fix for this problem. Installing just the dialler from the ROM, it seems it uses a HTC Touch Diamond imitation dialler for the Prophet. Which is just backwards, but if it works... hey... but numerous problems have been reported with this, and some of them seem pretty disastrous, even to the point of people being unable to call. Not a nice solution therefore, the risk is high.

Using chrisstavrou's program called CSDEVCTRL:

A small utility that uses the windows locking function in a variety of modes. I installed this and attempt to get it to work, but so far have been unsuccesful. People have reproted success with the problem that it's not really meant for the Diamond. Things like taking the pen out while calling does not unlock the phone so you can take notes... sometimes it stops locking the phone after several calls... in my case, it doesn't lock at all. Furthermore, the volume buttons are interfered with.

In my case, the program doesn't start itself after a soft reset. I'm not sure if I'm supposed to set this program to auto-run manually. If so it'd be nice to add that to the instructions.

Conclusion:

There are some nice attempts at solving this, but none that is really hitting the nail on the head. A simple utility that would require you to slide to answer a call, that would just turn off all touch-ability of the screen when an incomming call is detected, just unlock the HW keys, or similar would be preferred.
[Windows Mobile Apps and Games] Mandragore:
Not sure if this will work for other devices, but there is a way for the Touch Diamond. By the way, your application looks good, so I'll probably give it a try on my Diamond.
[Windows Mobile Apps and Games] zalaros:
chrisstavrou I 've found what caused the problem i had on the previous rom on my kaiser. The problem exists in all kaiser roms when i use this little app http://xdaforums.com/showthread.php?t=381924 Can you find out what is going wrong? When ctrlkey is running csdevctrl can't run properly. Although it seems it is running it actually doesn't. When csdevctrl is running ctrlkey can't start at all. It seems there is a conflict between these two programs. Can you do anything about it? Thank you for your great application ;)
[Windows Mobile Apps and Games] chrisstavrou:
Thanks for the info, i am including this in my next release.
[Windows Mobile Apps and Games] chrisstavrou:
Good investigation, seems both programs are using the same resources (and they can not be shared) :)

I will try to add this functionality in my program so that you dont need the other program.

It seems it remaps the ctrl key to any other key, i will see what i can do about it.
[Windows Mobile Apps and Games] bluejay:
PowerOff

Hi Chris,

thanks for the power off and the lock in today screen only option. I found 2 little things:

First: When you wake up the phone after its powered off by your program and you do not unlock it, it does not power off again after the given idle time.

Second: it also seems, that the timer for power off does not reset when there is any key- or screen-event meantime by the user. the phone powers off in any case. even if i hit a hardware button or touch the screen.
[Windows Mobile Apps and Games] paca69:
Grrrh: I have been searching for a programme like this for ages

And now that I found it... it does not work on my Samsung i780 (320x320 display WM6).

First (this is not really a blocking issue) the debugscr does not return the codes of any for the keys that I stroke.

Second when launching csdevcntrl nothing shows that it was actually launched. By launching it a second time there is no pop up window as mentioned in the user manual. So after 2 strokes one does not really know in which state the soft is. But again this is not really a blocking problem

The problem comes when the device is really locked: then I cannot unlock it at all (tried to slide from left to right, right to left, up to bottom, bottom to up), pressed keys (but of course as far as I do not know the hex value of the key I could not setup the sequence which is by default set to 000).

I tried then to call the phone hoping that this will unlock the device... and then a pop up came saying it cannot hook something and that was it. I could not answer the phone.

So the only way to unlock is to... soft reset the device.

I hope that one of the next versions will be compatible with my i780 because it is really a great soft which answers all my needs.
[Windows Mobile Apps and Games] chrisstavrou:
I am afraid the reason of the above poblems it that some other program could be running and interfearing with the csdevctrl.

I am testing the new version which can provide a better feedback on its status so we will know for sure what is the cause of the problem.
[Windows Mobile Apps and Games] paca69:
Chriss I am impressed by your reactivity.

I tried to close all programmes that I know they run (iLaunher, PhotoContact Pro) but I do not notice any improvement.

I will be waiting for your new version.

thank you
[Windows Mobile Apps and Games] nofuse:
How? Please share, do the volume keys work during a call?
[Windows Mobile Apps and Games] katabroc:
Hi guys, I dont know if auto-unlock will help me, but the subject is when my Artemis is locked I cannot see the screen that usually displayed during call. Just the Now screen of SPB mobile shell. So there's no info on screen about time of call, incall timer, incall functions and so on. Any sugestions on what to do?
[Windows Mobile Apps and Games] ucramos:
Yes .. that is exactly what i mean. Turn it off even if the headset is still connected. Then when a call would come in our while placing a call, the device would turn on the BT and the headset would "pick it up".

I think this would save a lot of battery.
[Windows Mobile Apps and Games] camro:
please don't forget to make an option that:

EDIT:

+) after power on -> lock + turn on the backlight for X-sec.

+) after call is starting -> lock phone + switch to dial info screen + turn on the backlight for X-sec.

so that i can see the lock mode after switching on the phone (outside on sunny days its more better )

cu camel
[Windows Mobile Apps and Games] richabi:
Can you post the code or registry keys that involve disconnecting bluetooth after a call is ended?
[Windows Mobile Apps and Games] Zekee:
Just wondering if any of you guys have problems controlling the volume settings with the hardware keys after installing this lock software?

It only detects screen touch now.. seems like it has "locked" the volume hardware key.
[Windows Mobile Apps and Games] Wolfblood:
Hi chrisstavrou,

Did you get your Diamond for test? Because even I've try on v3.28 still have a problem on my htc Diamond. Every time when I run the csdevctrl.exe. It has disable my hardware VOL key too. That's mean I can't change the VOL by hardware key (VOL +: VK code 075 / VOL -: VK code 076) when csdevctrl.exe is runnung. Only can change the VOL through touch screen. Even the phone is LOCK or UNLOCK...

And I hope you can put it back a function: When the Stylus is out then unlock the phone too just the self lock function. Hope you can understand what I'm said.

Thank you very much for your great application! :)
[Windows Mobile Apps and Games] camro:
one bug i've found.

that the phone is not alway lock on calling.

i thought that this works, because i set the paramter "temp x-delay time for lock on dialing" to 0, and then it is always lock, but then it is not anymore possible to uunlock it.

anyway... the lock doesn't work all times.

maybe you can find why it is not always lock the phone on dialing.

cu camel
[Windows Mobile Apps and Games] karios:
Yes, I get the same problem.
[Windows Mobile Apps and Games] yesod7:
This is one of the things that sets this program apart from other lockers; it actually locks ALL of the buttons! I have tried almost every other screen/key locker out there, and none of the others lock the send and end buttons (green and red) and the scroll wheel. This was a problem for me, because when I answer a call using my bluetooth, the buttons could inadvertently end a call (or place it on hold, or screw with the volume) while in my holster or pocket. If you read back through the earlier posts on this thread, you will find that one of the designs of this program is to end this problem.:):rolleyes:;)
[Windows Mobile Apps and Games] modd1uk:
Ive come across a bug.

When the program is running ( touch pro ) the side buttons do not work, volume menu flickers on/off and cannot change the volume til you disable the program.
[Windows Mobile Apps and Games] laser21:
Dont worry, the creator knows about this. :)
[Windows Mobile Apps and Games] modd1uk:
Excellent, it seems to be working fine apart from that, also...it locks the screen but the " send sms " button ( least i think thats what it says ) stays unlocked, so its doing its job by locking the screen...ish apart from that one button.
[Windows Mobile Apps and Games] chrisstavrou:
Hi all,

3.29 is out, including:

- Turn off the Bluetooth after the call is over , parameter TurnOffBlueToothAfterCall (as per ucramos)

- Fixes as per camro to minimize Spb so that the Dialer screen is show when locked. Also see the TurnOnBackLightSecsWhileLocked parameter for turning on backlight when device is waken.

- Unlock when the stylus is removed, parameter UnlockWhenStylusOut (as per Mandragore).

- Enhanced the power off option, see parameter PowerOffWhenLockedSecs (as per bluejay).

- Added parameter to display what actions are taken when sliding etc (ShowActionMessages).

As for the Diamond users,

i still did not get a diamond device to identify the error ( i flashed on my Kaiser a diamond rom but did not face the problems reported).

sorry for this ...
[Windows Mobile Apps and Games] laser21:
Thanks for your efforts!! I think there is a very big diamond / pro community waiting for an application as yours...if you could figure it out, Im sure there would be a lot of donations :)

see http://xdaforums.com/showthread.php?t=414731
[Windows Mobile Apps and Games] Geppo:
Autolock issue on i780

Hi Chris,

thank you very much for your great software!

I discovered the following issues using Autolock 3.26/3.29 on my Samsung SGH-i780:

1) If Autolock is loaded in memory (also in unlocking state) Zoom/Brightness Camera controls don't work anymore. Normally, in "Camera mode" sliding the mouse button left/right adjusts brightness, sliding up/down adjusts zoom (Codes: 025,026,027,028) .

2) The same issue exists for the left side volume buttons (Codes: 075, 076)

To make them working again I have to unload Autolock from memory. I tried also to set only partial locking, but this does not solve. Maybe a workaround could be to exclude the specified buttons, but only one code can be inserted in the specific field....

Although release 3.26 works generally flawlessly, the new release 3.29 seems to have some new issue. Sometimes, after exiting the configuration program the PDA seems hanged for a several seconds... I reverted back to release 3.26.

Regards.
[Windows Mobile Apps and Games] Lawliet:
In addition, on touch pro, the programs fails to automatically lock after a while. Seems like I have to reload it for it to work.
[Windows Mobile Apps and Games] chrisstavrou:
Thanks for the comments, i am looking at these problems reported. They seem to relate to the threads not being able to start (this is the change between 3.26 and 3.29 for more efficiency and obviously for more bugs :)
[Windows Mobile Apps and Games] camro:
ok, now it works almost perfect...

one thing what i see is, that the phone doesn't lock on all calls.

mostly it is lock if somebody calling me.

if i dial a number and i call somebody ~50% only locked.

well - in summary - a super tool, but it doesn't lock always on calling, mavbe you can find a better way to handle this.

cu camel - good job
[Windows Mobile Apps and Games] rvmax:
Ok after some tests :

Reset Exchange Policies work like a charm

Unlock on stylus remove seems to work on diamond by default (you don't need last version), but depends on configuration, I disable some settings and it works (may be lock fully device option)

On diamond some incoming call have no screen lock

And another question about memory managment. CSDEVCTRL is always load in memory ? a good idea is to start CSDEVCTRL only on trigger base on action (incoming call, etc...) It is possible ?

THX
[Windows Mobile Apps and Games] k0ot:
Sorry guys.. I just can not understand: is this module just a source code or we have an application based on this?
[Windows Mobile Apps and Games] johanromijn:
It's an application.

With a configuration editor, and running exe.
[Windows Mobile Apps and Games] johanromijn:
Version 3.29 is giving me problems.

When I have my Raphael on my desk, with the stylus out, I can't answer a phone call.

It seems that the screen in unlocked, but the buttons locked?????

But when I press the screen to answer the call it's almost not responding, and my phone locks up. Strange isn't it?

Anyway I'm back to 3.28

Only small glitch with 3.28, is that it does not always unlock after a phone call.
[Windows Mobile Apps and Games] camro:
found the bug:

lock on dailing/calling:

================

1.) every 2nd call/dial isn't lock. (maybe a reg isn't set alltimes)....

also the backlight isn't switch on altimes

2.) if i call with hold on touch screen (ex:"1" mailbox) then it doesn't swiutch to dial info screen

SPB mobile shell

============

sometimes it locks double times ( i´had to unlock it twice)...

otherwise it works great for me.
[Windows Mobile Apps and Games] camro:
missing option in setup ?

-- ToggleBlueToothState=0 or 1 (Default is 0)

-- (Combined with the above it can display the Bluetooth State in the Carrier name.)

-> i can't find this in setup - i'm blind or ?

(it is absolutly not important - only want to tell you ....)

some news about knowing bug on "not always lock on dialing" ?

cu camel
[Windows Mobile Apps and Games] chrisstavrou:
working on the issues mentioned after a long delay as changing the rom of my kairser to a diamond one, almost made it a 'brick' .....

ToggleBlueToothState is no longer there as i thought it was of no use :)
[Windows Mobile Apps and Games] PLF69:
I have a smillar problem, at first everything worked great but a some point it started not locking when I got a call and after that it fully lock, even the hard buttons and it became impossible to answer a call and reinstalling did nothing.... I dream of an app that really works.

My main problems are

- Pocket or case answer/ignore when trying to answer.

-

Screen pressing during a call

this is very frustrating...

- Screen pressing after a call.
[Windows Mobile Apps and Games] birkov10:
First of all, thank you for so useful software.

I have a Diamond and also have the problem with the volume hardware buttons, the other things works fine for me.

If you need doing some test in this hardware I will be glad to help you
[Windows Mobile Apps and Games] laser21:
Im happy to assist aswell!! (testing on a diamond)

Yeah, right after install, and doing some basic settings, the first few calls were as they should be - touchscreen disabled, hardware keys were working, after a few calls (2) I wasnt able to answer calls at all(touchscreen and hardware keys disabled) although I didnt change any settings. After that, I cleared the registry, and reinstalled, and it works fine (now the either the screen nor the hardware keys are blocked), but I disabled in call locking. When I enable it, I experience the same behaviour as described a few lines higher.

Keep it up, thanks :)
[Windows Mobile Apps and Games] chrisstavrou:
Hi all,

thanks for the comments.

I am testing it now, afteri did a small code rearrangement as too many patches appeared while new features were being added.

One note on SPB, the version after 2.1.0, i think its 2.1.2, it is trapping the lock call so it does not work properlly.

You can verify that as follows:

While the device is locked, try tapping on the screen, if you see that the 'unlock' softkey is being replaced by some other name, in my case it was 'close', then unlock can not succeed as most of the times this 'close' is intercepting the unlock.
[Windows Mobile Apps and Games] camro:
@chrisstavrou great work !!!

the most important thing for me is:

.) backlight had to be ON for X-Sec if i switch on the phone (so that i can see on sunny days) and see the unlock screen

.) backlight had to be ON for X-Sec if i get a call or switch on the phone (so that i can see on sunny days) see the unlock + dialer info screen

.) phone to be locked if i call ist started (incomming or outgoing) -> this doesn't work all times - i think only every 2nd call

the sbp mobile shell 2.1.2 bug is ok for me (ok - it is not easy to unlock it with gesture - but if i click on "unlock" or i use my unlock hardware key, then it works . the close i only see if i try to unlock with gesture (unlocksliding)

new version uploaded ?
[Windows Mobile Apps and Games] tomdeaap:
This app solves ALL the difficulties I had with S2U2 on my Diamond! Just tested it, but I haven't received any calls yet, so if that turns out to be buggy, I'll edit.

Sliding works beautifully!

Thx a million!
[Windows Mobile Apps and Games] Zekee:
Reporting an abnormality:

This is quite irritating and very random..

-> after unlocking the phone 4 of the below situations occurs at random

1) phone unlocks and remains at Home page (the desired outcome)

2) the "phone" screen pops up

3) the "programs" screen pops up

4) instead of my usual softkeys from Home page, the softkeys options change into phone softkeys (i.e call and menu)

Thanks

I am using HTC Diamond, Swiftblade v6.3 lite rom
[Windows Mobile Apps and Games] chrisstavrou:
Hi all,

3.30 is now posted.

It includes several fixes for issues reported.

Also i added a document (Openoffice format) which has the flow of the parameters related to locking for better understanding of their use.

As i still did not get in hand a diamond, i would not say that the problems the diamond users face especially the volume are resolved.

I hope to get one this monday.
[Windows Mobile Apps and Games] laser21:
Thank you for your work!!!

The document is needed - so many new functions added, so its great to have a reference for them.

Bye

I found a great solution - http://xdaforums.com/showthread.php?t=425650 - this disables the display while incoming call, with the combination with your app, its great! :)
[Windows Mobile Apps and Games] camro:
thanks for new version

hmm - now my phone doesn't lock on calling.

do you have done also bug fixing on dialing ?:

1.) doesn't lock on dialing if press/hold key (quickdialing like holding 1 for mailbox)

2.) doesn't lock on incoming calls

3.) doesn't lock on outgoing calls

4.) doesn't switch on the backlight after locking and switching on

5.) doesn't find new option for it.

but i see that version 3.30

??
[Windows Mobile Apps and Games] Geppo:
Autolock issue on i780

Chris,

ver. 3.30 does not fix any of the issues on Samsung SGH-i780 exposed in my previous post. If Autolock is loaded in memory (also in unlocking state) Zoom/Brightness camera controls don't work anymore....
[Windows Mobile Apps and Games] chrisstavrou:
Sorry to hear this,

from what you described it seems the program is not running for some reason.

Can you please perform the next to see if it fixes the problem (i have tested the above 5 cases and they work on my phone):

- Run the relevant setup of 3.30 and select save just to update the registry. In theory, the program should start so please try again the above.

- If it does not work, then soft reset and try again.
[Windows Mobile Apps and Games] chrisstavrou:
Seems its the same problem as the Diamond.

I got the Diamond today and i am trying to figure out a way to over come the problem.

Seems same applications are using the same way of trapping the keystrokes and there is a confict between them.

I have an idea so i will create test version of it to see if it fixes anything.