yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] jpaq:
Wjames,

Instead of a totally black screen, perhaps a "transparent" background or something can be used?
[Windows Mobile Development and Hacking General] WJames:
The second version of this app is now available on the first page. Thanks everyone for your comments.

W James
[Windows Mobile Development and Hacking General] chiekh:
Thanks again for the app.

Please think for how to unload the app. or deactivate it after try.

thanks.
[Windows Mobile Development and Hacking General] WJames:
I typically don't unload LockDown. At about 5k, it really doesn't impact my resources. However, if you really want to remove it, I wrote a process manager that will allow you to view all processes, including the "LockDown" process, and terminate any process you so desire. Of course, if you terminate a critical system process, your OS will lock up, and you'll have to soft reset.

There are some other more full-featured task/process managers, but at 18kb, my process manager won't take up much space and should meet your needs.

W James
[Windows Mobile Development and Hacking General] chiekh:
thanks for your answer. but i want to say an option like s2u2 i lauch ilock2 twice because i dont use the app. all the time. i use it just for test. so

thanks.
[Windows Mobile Development and Hacking General] Gajet:
Excelent work!

Now here's another one. Possible to have a version that sits much lower on the transparent background, even at the very bottom?

That way is would have less chance of sitting on top of something you want to see, depending on the layout of your screen. Some may even like a version where it sits at the top, but I think this is less likely.

Just consider. Wouldn't want you getting bored now. lol ;-)
[Windows Mobile Development and Hacking General] WJames:
Haha! No, I wouldn't want to get bored. I'll see what I can do.
[Windows Mobile Development and Hacking General] famewolf:
The new version is working great! Just FYI...fred's task manager( also acts as a registry editor) will also list all the processes and allow you to close the lockdown.exe one....
[Windows Mobile Development and Hacking General] CTSLICK:
Really terrific idea...nice and simple. Here are the two issues I have on my Sprint Mogul (HTC Titan/6800) running WM6

1-Upon resuming (pushing the power button) occasionally the slider takes several seconds before I can actually slide the arrow. I can't find a way to reproduce this every time.

2-When my phone rings the device wakes up, LockDown appears but then the phone call/caller ID window pops up and covers the slider (not using any 3rd party programs for that, just the stock WM6 notification). All of the hard buttons remained locked as well so I am unable to answer any phone calls with LockDown running unless I have my bluetooth headset on.

Sadly issue #2 keeps me from using this app. Is there any way to address that problem. Thanks again for your time and efforts.
[Windows Mobile Development and Hacking General] WJames:
Greetings.

Yes, issue #2 would be a show stopper. The original intent of this app was to prevent accidental hang-ups as you remove the cell to answer an incoming call or as you stroll around talking on your headset with the cell still in its carrier. I think I can resolve this issue. It appears that the phone dialer and Lockdown are fighting to be the top most app. I'll just make sure that Lockdown never loses focus. Look for a fix a little later today.

W James
[Windows Mobile Development and Hacking General] CTSLICK:
Sounds like there's hope...outstanding!
[Windows Mobile Development and Hacking General] kwickone:
Outstanding! I just stumbled across this thread and am very excited to try the version later today (with the phone call fix).

FWIW, I have an AT&T Tilt/Kaiser (WM6)

Thanks for the cool proggy.
[Windows Mobile Development and Hacking General] phatmax:
Not working as specified on Sprint Touch

This is excellent app and very useful to me. But it doesnt work as specified on my Touch. When i press power button, i see the arrow to unlock but not the background.

Suggestion to add feature..

If the phone is not unlocked within 5-7 seconds of pressing the power button, any way to make it turn of the screen? This would be really helpful since sprint version of touch wakes up on its own a lot and the backlight and screen stays on. Also, able to use Dpad to slide arrow would be nice.
[Windows Mobile Development and Hacking General] famewolf:
It was my understanding that lockdown would only kick in when resuming from a "power off"...however it appears to be engaging whenever my screen backlight goes off or I use the "turn screen off" function and then come back.....this means when I turn off the screen to listen to mp3's and save battery..I have to unlock each time I come back to it to change albums etc...can this be fixed?
[Windows Mobile Development and Hacking General] abumhmmd1:
ME TOOO !!

> >
[Windows Mobile Development and Hacking General] WJames:
A "resume" event is fired whenever WM comes out of suspend or the backlight turns back on. I was able to differentiate the two types of resume events on my Wizard / version of WM6. However, I may need your help to determine how to more universally detect the difference. Would you be willing to run a debug version of Lockdown that monitors the power events and records some details as they are triggered? If so, please run the debug version of Lockdown contained in the attached zip. It will record the power events in a file called lockdown_thread.txt which will be written in your root folder. Then trigger the backlight off scenarios you mentioned above and post the results.

Thanks much,

W James
[Windows Mobile Development and Hacking General] famewolf:
I'll download and install the debug version now however I'm also on a HTC Wizard (Tmobile MDA) using wm6 (XM6R5) so not sure how different the results will be.

Ok..I've added the lockdown thread text file to this post....I did the tests in the following order:

1) Normal power button push to "suspend"..waited a few seconds..hit power again.

2) Turn screen off event.....waited a few minutes..hit power button to resume

(1 and 2 were done while usb power was engaged)

3) Run on battery and leave idle till phone "shutsdown"....resume.....

4) Normal Power button push while on battery to suspend..waited a few seconds..hit power again.
[Windows Mobile Development and Hacking General] Ather:
hey the new version is really godd...but i noticed one thing hat when u move the stylus from lower area of the screen to up side..the slider also moves a little
[Windows Mobile Development and Hacking General] WJames:
I've seen a little bit of that myself. The slider is a pretty heavily customized version of the Win32 slider control. Given all the messages that I had to intercept, I'd probably be better off just writing a separate custom control. Eh. I'll put that on list. It might go hand in hand with periodically re-painting the desktop.

As you've probably noticed, even though the underlying desktop shines through, it never gets re-painted. This is a design limitation of Win32. Because there is a transparent window sitting on top of the desktop that intercepts all stylus events, Windows has incorrectly concluded that the desktop never needs to get refreshed.

Anyone every come up with a nice clean way to overcome this Win32 feature?
[Windows Mobile Development and Hacking General] ahmedfikry:
Great Idea

How about this neat idea

if you make your application as a "today plugin"?

check how people are thinking & excited for this as a transparent plugin here in this thread:

http://xdaforums.com/showthread.php?t=358670

This will also make it possible to move the slider up & down to the user liking

Can his be done?

Good luck

Thanks
[Windows Mobile Development and Hacking General] skanndelus:
good looking out... i started that thread then found this one... :) thx
[Windows Mobile Development and Hacking General] WJames:
I'm a bit stumped and hoping for some useful feedback...

I've run into a wall with notifications. You know those wonderful little messages that pop up when you get an incoming call, text message, etc.

The Lockdown message handler (wndProc) doesn't receive any lost focus or inactive message (or any message for that matter) when a notification is displayed. Instead, the pop-up message appears to just be directly painted on the desktop. Thus the Lockdown slider is covered by the notification pop-up.

Does anyone know how to trap a pending notification or how to register to listen for notifications?

I haven't been able to google an answer. I'm going to try forums next. Can anyone recommend a few good Windows Mobile Dev forums?

I can probably resolve this issue by forcing a redraw of the slider every X milliseconds, but I really hate to do that. It's inefficient as hell.

W James

P.S. A third release of Lockdown is on hold until I can find a resolution. I've corrected other issues that have been reported. I just can't seem to find a solution for notifications.
[Windows Mobile Development and Hacking General] Re-Mi:
Well, i don't think that this would be of any help but i've readed somewhere that s2u2 when you receive a textmessage it stops for a second to let the message appear. After this stop s2u2 continues working. ( so i think is either not possible or your not the only one who cannot come to a sollution :P)
[Windows Mobile Development and Hacking General] famewolf:
Well if it helps...I just got a call and the slide to unlock was in middle of screen..the answer/ignore panel was at the bottom and I was still able to click on Answer........
[Windows Mobile Development and Hacking General] WJames:
Thanks for the info, Famewolf. I believe I have a fix for the screen off/backlight issue that you reported. I hope to release it soon.
[Windows Mobile Development and Hacking General] WJames:
Soon as in now. See Page 1 for details.
[Windows Mobile Development and Hacking General] skanndelus:
yeah but that is normal when the phone is locked... you're still supposed to be able to answer an incoming call

p.s. i would love to do a gui overhaul on this app... it is great but could use some visual tweaks
[Windows Mobile Development and Hacking General] WJames:
I wrote this app with the intent of keeping it small and basic - I didn't want a resource hog. However, I fully intend to release the source into the public domain as soon as it looks stable - looks close. Of course, you are welcome to customize it any way you want.
[Windows Mobile Development and Hacking General] famewolf:
First mini S2U was on the bottom...then it was in the middle...now it's on the top (which I hate)...was there any problem with it being on the bottom as opposed to the middle? When trying to navigate the phone one handed while in the car it's alot easier to slide with my thumb while holding phone in right hand when the slider is on the bottom then when it's on the top of the phone. It also had alot less chance of blocking useful info on the today screen when on the bottom vs on the top.
[Windows Mobile Development and Hacking General] skanndelus:
i agree, i would love it on the bottom, and i don't think adding a little gui elements would make it a resource hog at all... just add some textures/gradients and prettier icons.
[Windows Mobile Development and Hacking General] chiekh:
thanks for the -close option
[Windows Mobile Development and Hacking General] WJames:
No problem. Your close option was a good idea.

As for the slider now at the top...

I'm really sorry about that. I'd love to give you the option to put it at the bottom. However, I've not found a work-around for the notification balloons issue. If the slider is at the bottom, whenever you receive a notification (incoming call, text, low battery power, etc...), the slider is covered by the message balloon. I've searched and searched for a way to intercept or otherwise gracefully handle the balloon, but the notification code writes directly to the desktop window. If I simply redraw my slider, the balloon is almost instantly redrawn over it again. Microsoft took an annoying approach to notification balloons. Unfortunately, I don't have a good solution for handling this issue at the moment.

If anyone knows how to gracefully handle this situation, please let me know, and I'll gladly add the flexibility to set the location of the slider.

W James
[Windows Mobile Development and Hacking General] famewolf:
Hmmm the regular s2u2 handles it someway..perhaps A_C could provide a pointer in the right direction or some of the other "devicelock" programs that have source released? Another locker I heard about is OnLock...now I only mention these as possible sources to find info...I prefer Mini S2U over all of them. ;)
[Windows Mobile Development and Hacking General] famewolf:
as for the close option..great job but you may want to consider doing something similar to how smartskey works..first time it's ran it works normally...if executed a second time it pops up a small panel that says "Close Smartskey? (Y/N)" and then works from there..this prevents the normal possibility of it even being ran twice by accident.
[Windows Mobile Development and Hacking General] WJames:
Thanks for the suggestions, Famewolf. I'll add the confirmation dialog and see if A_C or the author of "OnLock" can provide some suggestions.
[Windows Mobile Development and Hacking General] briggs81:
Very simple stuff, nicely done. Looking for something between s2u2 and the normal lock app.

now just make it look prettier :D
[Windows Mobile Development and Hacking General] boogievoogie:
The slider was also moved to the top of the screen to prevent being covered by notification balloons.

it's better if you move slider screen to the bottom, incoming call apear right on top of the slider window :(
[Windows Mobile Development and Hacking General] jpaq:
Dear WJames,

Once again, excellent work so far. My feedback on a few things with the latest v.3:-

1. Position of slider at the top. Its good thats it been moved up so that notification balloons don't interfere with it. However, could it be moved down a touch more, maybe by about 1 cm or so? This is so that it feels more ergonomic when you are trying to slide one handed with your thumb. I am using a HTC Touch. I dunno whether it matters with other phones.

2. Size of slider. Could it be made even bigger? I find that I have a problem when trying to slide to unlock when the phone is held in my left hand and I am trying to slide with my left thumb only one handed. Has anyone tried this and find there is a problem? For me, it just doesn't seem to work very well when the phone is held in the left hand and you are trying to slide with just your left thumb. I find that I have to either switch hands or slide with one of the fingers of my right hand. Which may not be so convenient at times.

It works ok with the phone held inthe right hand and you are sliding with your right thumb. But just not the left!

3. Design of slider. The arrow is a good idea, but could a picture of something bigger be behind the arrow so as to give a thumb more of a target area to work with? Actually this relates back to my 2nd point above.

Actually I feel that everything is ok as far as technical design/concept is concerned. For me, its more of one handed usage/ergonomics issue. Just need a bit of tweaking.

Just my 2 cents of feedback.
[Windows Mobile Development and Hacking General] mikewchandler:
I love the concept of this slider being transparent to allow for you to view your today screen! :) I find it redundant to use an unlock screen with all your today info, then unlock it to a different today screen with the same info basically. So, good job. :)

I am eager to tweak the graphics (whenever you get ready to release the source code). Thanks again.
[Windows Mobile Development and Hacking General] WJames:
Unfortunately, the position of the slider in conjunction with the notification message balloons continues to be an issue. I'm still searching for a way to gracefully handle notification events.

As for the position of the slider, I'll provide the means to set its location in the next release.
[Windows Mobile Development and Hacking General] mikewchandler:
thanks... :)
[Windows Mobile Development and Hacking General] ff2005:
Can I make a sugestion?!?!

Why no?!... the slide is invisible till u touch the screen?

the position off the slider is configurable and the size 2... or, it is showned rigth beneth you finger well u touch the screen...

so many options... :D
[Windows Mobile Development and Hacking General] perasite:
Now that would be cool
[Windows Mobile Development and Hacking General] jpaq:
But I think a bigger slider or a bigger slider button at least is needed for accurate thumb operation.
[Windows Mobile Development and Hacking General] WJames:
The next version will include a slightly bigger slider. I might also include some registry settings to alter the size of the slider. We'll see about that. :)
[Windows Mobile Development and Hacking General] schettj:
Interesting app...

I've been following along, but its still unclear to me what happens with this app when it's locked, and you get a phone call or notification. Do you have to unlock to answer the phone? I assume you can see the caller id notification.
[Windows Mobile Development and Hacking General] famewolf:
You can answer the call without unlocking.
[Windows Mobile Development and Hacking General] WJames:
I have a good news/bad news scenario for the notification balloons issue.

The good news is that it appears as though SNAPI might provide the functionality I need to gracefully handle those notifications. I'm still looking into this, but it looks promising.

The bad news is that SNAPI is only for Windows Mobile version 5 or later.

I think most people on these forums have WM5 or later, but if I pursue SNAPI, I'll have to split off Lockdown into a new WM5 only version. I'll still finish the latest version either way, so I won't leave any PPC owners hanging.

BTW, the new release should be out in another day or so. It contains many of the display / positioning tweaks that have been requested. Additionally, I wrote a custom slider that doesn't exhibit some oddities of the bastardized Win32 slider that I've used on previous versions.
[Windows Mobile Development and Hacking General] mikewchandler:
I noticed I didn't receive any emails or weather updates while this was loaded yesterday so I haven't used it today. Right after a soft reset, it immediately connected to update my weather and emails.

Has anyone else noticed any data issues? Mabey it is something else and not lockdown?
[Windows Mobile Development and Hacking General] WJames:
Hi, Mike.

I assume you have software configured to periodically fetch email and weather info. What apps/services are you using? Please provide any details that might help track down the issue. To date, I haven't come across any background apps that fail. Since Lockdown just sits on top of everything, I don't see how it could interfere with other apps. It locks the hotkeys and blocks stylus events, but other than that... *shrug*

Please note that, while Lockdown is in lock mode, the desktop does not currently redraw. That's something I'd like to change in the future, but I haven't come up with a good solution yet. Is it possible you're just not seeing weather updates because the desktop is not redrawn?

W James
[Windows Mobile Development and Hacking General] jpaq:
Dear WJames,

Have been wanting to ask you... what do the "Lockdown Close" and "Lockdown" shortcuts actually do? I have placed the Lockdown.exe and the two shortcuts in the My Documents folder. When I click on either of the 2 shortcuts, a message pops up saying "The file "Lockdown" cannot be opened..." blah, blah something about not signed or one of its components are not found.
[Windows Mobile Development and Hacking General] jpaq:
Not anymore, not with the latest version. You have to unlock to answer a call. Which is the main point of this app I think.
[Windows Mobile Development and Hacking General] mikewchandler:
good idea on the "redraw" thing. That might be what the problem was? However, I got no alerts to new emails coming in either, so that's strange? I use push email (mail2web) and htc's home plug for weather. I'll test again. Thanks for the reply.

BTW, I also am not able to answer a phone call until I unlock the device via slider. I saw a few people mention that they could answer phone calls? Mabey somethings up with using this on an htc touch (enhanced)? Thanks again :)
[Windows Mobile Development and Hacking General] famewolf:
I disagree with you and can state that on MY wizard I am running the latest version of mini S2U and when a call comes in even with mini slide2unlock visable on the screen I can STILL click on answer.
[Windows Mobile Development and Hacking General] WJames:
I'm also able to answer incoming calls without unlocking. I'm pretty sure I'm running with a standard HTC phone app. What phone app are you using?
[Windows Mobile Development and Hacking General] WJames:
Hi, JPaq.

Those were just provided as "sample" shortcuts. However, both expect the Lockdown app to be in the \Windows folder. The "Close" version will remove Lockdown from memory (if it's currently running). The other shortcut justs invokes Lockdown normally.
[Windows Mobile Development and Hacking General] mikewchandler:
Ok, after further testing, there doesn't seem to be any data problems at all with lockdown. The soft reset was likely what fixed my "issue" the other day? not sure?

I can confirm that I have to slide it unlocked before answering, though. It's not a big deal and as stated, can actually be a good thing for some.

This piece of software is very nice. I love being able to see my today screen. It somehow feels less redundant that some of the others. Thanks again. :)
[Windows Mobile Development and Hacking General] WJames:
The fourth release is now out. See the first page for details. The version provides some display customization options. I'm not exactly an artist, so if you come up with a good color scheme, feel free to post a pic. Maybe I can use it as the default look for the next release.

W James
[Windows Mobile Development and Hacking General] skanndelus:
works great! if i provide the images will you create a prettier version, pleeeeeeeaseee :rolleyes::rolleyes::rolleyes::rolleyes:
[Windows Mobile Development and Hacking General] jpaq:
Famewolf and WJames,

Hhhmmm... I just tested again. Confirmed that I have to unlock first before I can answer a call. The cannot answer neither with the hardware "Call" button nor the softkey "Answer". I was not able to answer even with the a wired handsfree (the standard one that came with the phone). This is is with version 3 of Lockdown installed. Different phone different behaviour perhaps?

However, I have to clarify that when I had version 2 installed, I could answer with the softkey "Answer" but not the hardware "Call" button nor the wired hansdsfree.

I am using whatever phone app that came standard with my HTC Touch. Running standard ROM 2.20.707.1R WWE. ROM Date 10/02/07.

And WJames, thanks for your clarification with the shortcuts. Will move to the Windows folder instead.
[Windows Mobile Development and Hacking General] famewolf:
Both WJames and I are using versions of the HTC Wizard with different versions of the WM6 roms so perhaps it's hardware dependent to some extent. The wizard allows it and the touch doesn't? Someone else said they had to unlock first. I am using the "wizard retouched" dialer and WJames I believe said he is using the "normal" one.
[Windows Mobile Development and Hacking General] mikewchandler:
will try the 4th version....thanks....with the 3rd I can NOT answer without first unlocking. That's not too big a problem; however, I also can't hang up without unlocking which isn't very nice. Just thought I'd clarify. Thanks again.
[Windows Mobile Development and Hacking General] jpaq:
Yes, Famewolf, it looks like hardware dependant to a certain extent. This is actually quite screwed up then as it makes things difficult for pple to write apps/progs.