Small app to utilize the built in lock function in new PPC6700 ROM
--------------------------------------------------------------------------------
Is it possible to create a small app that simulates pressing the "device lock" plugin on the today screen every time the phone goes into standby? This would make the new lock feature be 100% useful and also make it fool proof. So every time your phone goes into standby mode (phone screen off, or pressing the off button on top of the phone) this would trigger the today plug in to activate!
What do you all think?
I've had an idea to write a screenlock myself, but it would work on the same basis.
I want to test something though: I wonder what the time lag is between pressing power on and an app installed in the notification queue being enabled.
My VJLumosII works like this, and takes maybe a second to enable itself. I think that's not a bad time lag. So you could write an app to launch itself on power on, to automatically enable the lock...
If anyone else is interested, please do dive in... fittske - maybe you can change the title of the thread to make it apply to everyone!?
Otherwise, when I get a little more time I'll look into it.
V
Thanks for the quick response! Sure If any one else has any ideas please do jump in!
I'm in!
I usually depend on MortSaver for this, but I would love an app that locked/unlocked with a hard-button (as opposed to clicking on Today which is silly). Exempting a blue-tooth voice dial button would also be great. I can build for this platform in .NET, but I sense that the response time wouldn't be as good as a C++ implementation.
http://forum.xda-developers.com/viewtopic.php?t=45851&start=0&postdays=0&postorder=asc&highlight=
V
RE: App to use Today Lock - Thanks!
Ooooo, I literally have been dreaming of this all day. Again, no disrepect to MortSaver, but a tighter intregration and better lookin' ui never hurts.
Thanks!
James
Jakenuts: you've been dreaming of this all day?
May I point you towards this thread:
http://forum.xda-developers.com/viewtopic.php?t=44913
Have you tried the app? Did it work?
V
hey,
I was wondering through the forum, searching for the manual screen lock app.
going through people's responses its worth trying - where can I find & try the app?
will it work on original WM6?
Related
I have a MDA Vario. In SETTINGS --> TODAY --> ITEMS tab, what is "Today timeout", which is set at "4 hr" by default?? Does anyone know pls? I do not see any reference to it in the manual. Thx.
Tones
I think that's the amount of time after which it will return to the today screen if you left it with an app open and didn't touch it.
i tried it last night by leaving a game running, but it was still there when i got up the next day. it does seem to be the function u described, mate. Anyone else have any ideas pls?
A game will certainly work differently as it will request permanent focus and fullscreen. Just try with a standard app like calendar...
well, it was only a simple solitaire card game, but nonetheless I will try standard one like you suggested. But if this "timeout" function really is to return to TODAY screen, what is the real use of it? to timeout in 4 hours? and the longest possible time option is 12 hours.
Doesn't it simply stop refreshing the today screen (ie the clock and other values)?
It still refreshes the clock when you put it into sleep mode. However, after a number of hours it always takes some time for the clock to jump to the correct time.
It is the idle time before the Today screen is shown.
It's near useless, I almost always keep my today screen on anyway, because who wants to wait 4hours to see it
Use my TodayButton app if you want quick access to the Today screen...
V
personally, I always return to the TODAY screen anyway by shutting down applications after i'm done with them. I just thought this "timeout" thing was a sophisticated and useful function, but it turns out to be quite the opposite. But i will never understand why anyone want to design it to timeout in HOURS and not in minutes.
I'm the same, I shut down apps and always leave it on the Today screen!
V
vijay555 said:
Use my TodayButton app if you want quick access to the Today screen...
V
Click to expand...
Click to collapse
Doesn't the Red button do that anyway?
Nah, red button minimises apps to leave them running in the background (I think it actually just switches to the today screen). Some don't mind this, but for me, if I want the app open, I'll open it, and when I want it closed, I want it closed.
VJOkButt allows you to use the red button to minimse or close, and also properly close the phone to save around 3mb memory. But it does this sympathetically with the phone, so if you're in the phone, it hangs up, but otherwise it's a minimiser.
V
lolz
Morale of the story.... no one knows it. I always keep it disabled. So no big deal.
Had PDF softcopy of Reference Manual of my O2AL, and searched with no hint at all. Lets be it.....
I thought...
Guys,
I just stumbled upon this thread and thought it might be a good idea to get educated. I never knew it.
But this is what I thought - I thought it is the time slot to show appointments.
Means, if you chose a slot of 4 hours, and there are continuous meetings scheduled in your calender (and display of them enabled), then it would act like a rolling 4 hours window (read as slot).
Does this make sense? I never had so many appointmens, but always thought this was the use of it.
Comments please.
I swear I did not change any settings, but starting yesterday my Wing would just lock itself when the screen shuts off. Anyone know how to disable this? Thanks
*edit*
another odd thing I noticed - I don't have to unlock when the phone's charging. very weird.
what programs are you using? If you hold down the end key for a second, the phone will lock. Maybe you are accidentally bumping it when you put it in your pocket or case.
Sorry I wasn't more specific... I'm running ttran's OpenTouch 3.0. when I turn on the screen (using the power button) I need to press unlock twice to get to the main menu. It's annoying and I'd like to get rid of it. idk... I didn't change anything and it just randomly started happening yesterday. help?
I agree with you PharmacySchool...I'm running Ttran's 3.0 ROM myself and the "locked" feature pop-up on me this afternoon, out of the blue. It is very annoying and I'm not sure what caused it to start happening. Was getting an address out of the contacts list, X'ed out of contacts once finished, clicked the power button to turn the screen off...next time I went to use the phone, it magically was locked and has been since. A real pain to have to hit the unlock button twice just to use the phone. Have played around a little with it, but no success on correcting the problem yet.
Make sure you're not overclocking the phone. This can cause lock ups if the CPU overheats or if it doesn't get the required voltage or for other reasons.
The lock I'm referring to and I believe PharmacySchool...is like a "key lock". How some phones have an option to lock the keys so it can't accidentally call someone if numbers get pressed by mistake or while in your pants pockets. Nothing to do with the CPU or it being overheated. All you have to do is press the button to turn the screen light off and instantly turn it back on...it's locked. You have to hit the "unlock" button on the bottom left hand corner and the tap the unlock button on the screen. After doing such...you can once again use your phone.
I have the answer!!!
pharmacyschool said:
I swear I did not change any settings, but starting yesterday my Wing would just lock itself when the screen shuts off. Anyone know how to disable this? Thanks
*edit*
another odd thing I noticed - I don't have to unlock when the phone's charging. very weird.
Click to expand...
Click to collapse
I'm pretty knew at this but I ran into the same problem and I figured out how to fix it. I don't know all the fancy wording so bare w/me. On your main screen touch and hold your battery symbol/ 6th option down says DeviceLock with a green check/ uncheck that **** and your good to go.
NOW someone PLEASEEEEE create a slide 2 "answer" not a slide 2 lock. I am so tired of my phone answering its self in my pocket when I don't want it to.
A_C 's S2U2 has a slide to answer feature..... You should check it out.
nextpimp said:
A_C 's S2U2 has a slide to answer feature..... You should check it out.
Click to expand...
Click to collapse
I've installed S2U2-0.2-WM5 with Touch It v2.3 and had problems. I think I remember it having a slide to answer but I also remember it answering with the green button as well. Maybe there was a way to disable it but I don't know how.
Does it work better Open Touch v3.0. because thats what I'm running now.
WOW... thats an OLD version.... that version should not have the slide to answer.....Current Version is 0.99p. It can be found in the development and hacking forum. You'll need to enable the S2A feature with the settings program...Man the apps come a LONG way since your version...We got animated gif support, Random still backgrounds, an exceptions list so voice dialers will work properly and internet browsers will stay alive... Just try the new version.
midas1200 said:
I'm pretty knew at this but I ran into the same problem and I figured out how to fix it. I don't know all the fancy wording so bare w/me. On your main screen touch and hold your battery symbol/ 6th option down says DeviceLock with a green check/ uncheck that **** and your good to go.
NOW someone PLEASEEEEE create a slide 2 "answer" not a slide 2 lock. I am so tired of my phone answering its self in my pocket when I don't want it to.
Click to expand...
Click to collapse
Midas, that fixed it. thanks a lot. I owe ya one.
nextpimp said:
WOW... thats an OLD version.... that version should not have the slide to answer.....Current Version is 0.99p. It can be found in the development and hacking forum. You'll need to enable the S2A feature with the settings program...Man the apps come a LONG way since your version...We got animated gif support, Random still backgrounds, an exceptions list so voice dialers will work properly and internet browsers will stay alive... Just try the new version.
Click to expand...
Click to collapse
NICE!!!!! Works good so far. Now I won't be divorced! LOL
What I am looking for is a simple auto key lock, I am not the only one!
S2U2 I have tried and found to be laggy and unstable, essentially it is overkill, as are most auto key lock programs. I want something simple!
When pressing and holding the end key the keypad locks, all i want is a program to do this automatically after a set time delay, without any fancy tricks or graphics - surely this isn't too much to ask?
I am aware that the power button can put the phone to sleep and disable the keys/screen BUT they do not stay disabled if the phone wakes up (when getting a call/message etc.). Only the key lock does this.
As an alternative, does anyone know how to call the key lock software, where is it located in the windows folder? I can try and write something to do this?
I guess you don't want the password to be activated?
If you do want the password then you can easily do this via
Settings--Personal--Lock
and just specify the time before auto-lock happens
Here are a couple of aps that might help:-
LockWithPassword -I have this little app mapped to a shortcut on my today ...so I can instantly lock when needed ... thanks to slow23 right here at XDA
LockAndOff -does what it says on the tin ...again can be set up as a shortcut, and this one locks keys & turns the screen off (with a single click on the shortcut) but does not invoke the password
Got it from here:- link
Thanks jcsxda, LockAndOff is pretty close to what i want, now if it could be set to run after a short period of activity, or on device sleep/wakeup then it would be perfect
Im looking for the same thing.
A simple auto lock just like any other phone...
S2U2 is overkill and can miss up someother app.
it is the same as the device lock today shorcut?
sorry, my phone is in my car and im too lazy
VJDeviceLock can be used to automatically lock your phone when you switch it off (actually, when you switch it on but it amounts to the same thing).
You can assign any app to launch on power on, by using the events management functions built into the OS. Eg Memory Maid will let you run apps on power on etc.
V
Thanks Vijay for the great info. shutil.dll is responsible for the device lock on windows mobile when you press the today plugin for locking.
Do you know a command to use this DLL (to put in Memory Maid) ?
Is there a rundll32.exe like on desktops or something
VJ you are a star!
Exactly what I've been looking for. A little fiddly to setup, but shouldn't be a problem for anyone unless they are a total newbie!
Now it's setup it is perfect.
Thank you very much, donation on the way!
@jrg1967
Many thanks for the donation! For various personal reasons, I went cold turkey off XDA Devs for about a year, but I'm really glad to be slowly getting back into it. It's amazing how strong this community is, internationally!
@el_lo:
Although there is an API for enabling the lock, when I tried to implement it when WM5 first came out, for VJDeviceLock, it wasn't well documented, so VJDeviceLock does something else that I can't remember now to enable the lock.
I don't believe that there is a rundll32 type app on Windows Mobile. It wouldn't be hard to make one, but then you'd still be running an external app!
I believe that VJKeyPress can also be used to enable the keylock, and there are other 3rd party apps.
HTC may well have built in some function to enable the lock through ROM based software, but for me, VJDeviceLock serves me well.
V
@VJ, you have the makings of a commercial piece of software there- it is very hard to find a simple program to do this, as the poll bias shows. You just need a user friendly settings program to deal with the command lines and make it easy to use. I am sure it would appeal across the WM community...
yeh would be great for the phone to autolock after a set period of time like other phones. ok the screen turns off after 30seconds but it doesnt lock the keys. seems strange why this feature isnt already on the phone...
Ok, I'll put this out there:
If one was developing a (possibly commercial, but cheap) auto lock app, what features would it need?
VJDeviceLock is a very old app now, but it works fine and it still surprises me that autolocking on power off is not a standard feature, so I always install it. I understand that there is a registry entry on the newer non X1 HTCs that does something similar, but anyway:
What features would you need? First, auto locking after a fixed time.
What else?
In the interest of keeping it simple, don't ask for a slide to unlock replacement, as S2U is already fabulous, if that's your thing.
Also note that if you're interested, I can entirely replace the native unlock screen with a different interface, although again, I don't propose replacing S2U. I mean something more like a HUGE unlock button.
Give me ideas.
I can do gesture based unlocks, accelerometer based locking and unlocking (assuming I can do this on the X1, I don't have one, so someone feel free to give me one and I'll come and give your package a fondle).
Note that I'm busy on other stuff, so anyone else can code this, but for simple-ish features I'm happy to start working on it. Bigger stuff will take time.
It would probably be free because I can't deal with the hassle of getting rich
V
I'm using Auto Lock (CSDEVCTRL) works like a charm
http://forum.xda-developers.com/showthread.php?t=386451
Hey Vijay, glad to see you around!
jcsxda said:
I guess you don't want the password to be activated?
If you do want the password then you can easily do this via
Settings--Personal--Lock
and just specify the time before auto-lock happens
Here are a couple of aps that might help:-
LockWithPassword -I have this little app mapped to a shortcut on my today ...so I can instantly lock when needed ... thanks to slow23 right here at XDA
LockAndOff -does what it says on the tin ...again can be set up as a shortcut, and this one locks keys & turns the screen off (with a single click on the shortcut) but does not invoke the password
Got it from here:- link
Click to expand...
Click to collapse
thanks..seems like the lock app i was looking for.
X1 is like a mini comp....anyone can mess around with it if u leave it unlocked
Hi VJ,
It's still working great! Don't make this over complicated, as you can see from the poll people want a simple solution. Now I have it setup it's working just as needed, the standard unlock screen is fine, but the setup was a pain! So, IMHO all that is required is a simple front-end allowing to choose the options, rather than having to enter a command line. More complicated solutions to this issue are already available, so keep it simple.
Options for keylock/password lock at sleep and/or after a set time interval is probably all that is required.
BTW, X1 does NOT have accelerometer.
just having the regular keylock automatically come on after x amount of seconds would do me. no fancy screensavers, passwords or swiping the screen or anything like that. i noticed on diamond tweak there was an option for the keylock to come on when the standby kicked in and the screen goes off, doesnt work on the x1 though but that feature would be ideal.
vijay555 said:
Ok, I'll put this out there:
If one was developing a (possibly commercial, but cheap) auto lock app, what features would it need?
VJDeviceLock is a very old app now, but it works fine and it still surprises me that autolocking on power off is not a standard feature, so I always install it. I understand that there is a registry entry on the newer non X1 HTCs that does something similar, but anyway:
What features would you need? First, auto locking after a fixed time.
What else?
In the interest of keeping it simple, don't ask for a slide to unlock replacement, as S2U is already fabulous, if that's your thing.
Also note that if you're interested, I can entirely replace the native unlock screen with a different interface, although again, I don't propose replacing S2U. I mean something more like a HUGE unlock button.
Give me ideas.
I can do gesture based unlocks, accelerometer based locking and unlocking (assuming I can do this on the X1, I don't have one, so someone feel free to give me one and I'll come and give your package a fondle).
Note that I'm busy on other stuff, so anyone else can code this, but for simple-ish features I'm happy to start working on it. Bigger stuff will take time.
It would probably be free because I can't deal with the hassle of getting rich
V
Click to expand...
Click to collapse
you can make it very simple.assign lock software to power off button.when you display is off you phone ll be locked.this ll be lovely.thank you
Hi Vijay,
I was also trying to develop a simple autolock program. Because I couldn't find any locking program that can prevent X1BC from capturing the keys. What I need is something that kills X1BC just before locking, and re-launches it after unlocking. Currently, I am able to lock the device and kill X1BC when the display dimms, but detecting the unlock is a problem. Do you have any idea how I can detect the unlock? (My program is using the lock mechanism of QuickMenu and that is using the built-in lock).
Cheers
I have tried to make this myself but im not the best at c# I was hoping someone would like to write a small app that disables and enables the touch panel without using the gsensor or light sensor or nav sensor. i want to use this with a mort script so it would launch the app to disable touch panel then run the rest of the script then launch the app to enable it. i don't care if its two separate apps. if someone can help i would appreciate it so much. thanks
This isn't an actual shortcut, its a bit better than that if you ask me.
http://www.freewarepocketpc.net/ppc-download-sensorlock.html
Basically you just spin the phone in your hands and it will lock, watch the video, it shows what to do
I've also found an application called sleep, I used that for a while but now I'm on WinMo 6.5 and I just use the lock button instead. Just do a quick google for a program called sleep, shouldn't be too hard to find.
And also there is an inbuilt lock thingie where you can set your phone to lock the screen if you hold down the end call button for like 5 seconds but that one is a bit of a pain cause you gotta hold it for ages before it locks and then when you try to unlock it is hard especially if youre outside with the sun shining.
AdamHC said:
This isn't an actual shortcut, its a bit better than that if you ask me.
http://www.freewarepocketpc.net/ppc-download-sensorlock.html
Basically you just spin the phone in your hands and it will lock, watch the video, it shows what to do
I've also found an application called sleep, I used that for a while but now I'm on WinMo 6.5 and I just use the lock button instead. Just do a quick google for a program called sleep, shouldn't be too hard to find.
And also there is an inbuilt lock thingie where you can set your phone to lock the screen if you hold down the end call button for like 5 seconds but that one is a bit of a pain cause you gotta hold it for ages before it locks and then when you try to unlock it is hard especially if youre outside with the sun shining.
Click to expand...
Click to collapse
thanks for the response, i have used sensorlock and it is a great app but i want the screen lock so i can run script that involves buttons press while the phone is in my pocket
question about SIP default
i know this may not be the most appropriate thread to put this question on, my apologies. From the title I thought it may be. Anyhow, I installed phm registry editor and am trying to learn to use it, but not sure how to find something im wanting to change. My SIP default seems to be that anytime i open my sms inbox, or email, etc, my keyboard pops up without me selecting it to do so. I want to change it so it only pops up when I select the little tab/icon to MAKE it pop up.
Any help would be greatly appreciated. Much thanks in advance.
Hello all.
I have a TD2 with The original HTC WM 6.5 ROM.
I love it, but one thing annoys me:
The world clock that pops up when pressing the watch.
It gets in the way everytime the phone ring, and i grab for it in my pocket.
I have googled it, and searched this forum, and all i have been able to find was a cooked ROM that has it disabled, but also had othér changes i don't want.
Is there a kind soul inhere hwo knows a simpler way to disable this "world Clock" feature? (and is willing to share the secret with me )
Thank you in advance Humpeligimp
What World Clock?
I'm assuming you mean when you tap on the clock on the home screen, unless you installed something - SPB Time, or something else with a screensaver - which gives you a world clock?
I hate to suggest the obvious, but if you don't put the lock on when the phone is in your pocket there is potential for bigger problems than the Clock settings to be displayed - a feature, rather than a bug.
My suggestion would be to engage lock before pocketing phone - last time I forgot I made a long silent call, so I soon learned!
Yes that world clock.
I am sorry if it could be misunderstood.
The ringing phone in the pocket was just an example. (Of course i lock my screen)
What i realy ment was can it be disabled ?
To stop it from stealing focus when i accidentially taps the time.
I find it annoying, and i have no need know the time in some other country,
just from the front of my phone.
I like to link my clock so that when i press it, it launches second today. I do this using ssmaho 0.0.4.0. I suppose you could link it to take you to the home screen (ie. do nothing)!
Thank you. I'll check ssmaho and see.
Humpeligimp