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?
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
Hi so this is what frequently happens, I lose the top bar on the screen (start icons etc) which needs a restart to get back, sometimes the screen will not go black when the power putton is pressed(for locking), holding the end call button to lock the phone dosent work at all even after restart(not that i use it), also the email icons where you flick down and up to get a preview often dosent work and the email opens instead(happend from the start).
So what i would like to know is what can i do about this I assume there is a new rom out there that is really nice and stable but which do you suggest? I would like one which replaces the alarm setting in the default rom as that is so annoying. Also I use the youtube program all the time and I would like to still have the zoom bar in opera. your advice is really appreciated.
Im getting some of these problems, sorry dont know what to sugest! but my end key has never locked my phone it ends data conection ok !!??
Paul.
Have you tried a hard reset?
There are many great roms each Rom has a thread you can check them out to see what they have and what they can do it depends on your preferences not others
I have just been testing out Fresh 2.1.2 and find it unfortunate that flipz has included the menu-menu disable in the vanilla lock patch. I was just wondering if I am alone here? Does everyone really have that many problems with ass dialing? I mean, I have a big ass and I almost never have this problem because the trackball really prevents you from hitting the menu button unless you have something else in your pocket.
I personally love the menu menu unlock. I've never had a problem with the phone ever turning on accidentally in my pocket, and I like being able to just pull the phone out and press a button twice to use it. I honestly get a little upset when devs include the menu menu disable patch because I feel like it's crippling my phone lol
I like it cause that way I do not have to use the infamously peeling power button. Saves the paint for just a lil bit longer.
I always use menu menu to unlock. Love that feature.
i love it... simple!!!
but currently my custom ROM..
HATE THIS!!! i have to do ... menu menu menu
1st = turn on
2nd = unlock.. and menu comes on
3rd = turn off menu!!!
lineman78 said:
I have just been testing out Fresh 2.1.2 and find it unfortunate that flipz has included the menu-menu disable in the vanilla lock patch. I was just wondering if I am alone here? Does everyone really have that many problems with ass dialing? I mean, I have a big ass and I almost never have this problem because the trackball really prevents you from hitting the menu button unless you have something else in your pocket.
Click to expand...
Click to collapse
That can be fixed here:
http://geekfor.me/fixes/bugfixes-requests-lock-screens/
Yeah that works. I made a feature request, will see what Flipz says.
I dont like the feature.
I used to call people at work all the time and had no idea why.
But then one day I realized while leaning on something or putting something up on shelf I would accidentally menu menu unlock and sometimes press the call button and redial the last person called.
I'm glad for the fix. Now I don't have 2 set the lock pattern each time I want to carry my phone n pocket so I don't end up calling ppl without knowing.
-------------------------------------
Sent via the XDA Tapatalk App
I dislike it, not because I'm a butt-dialer, but because I find it too easy to unlock that way. In fact, I put the rotate unlock screen on because it's more difficult to unlock that sliding the screen down.
Dan330 said:
i love it... simple!!!
but currently my custom ROM..
HATE THIS!!! i have to do ... menu menu menu
1st = turn on
2nd = unlock.. and menu comes on
3rd = turn off menu!!!
Click to expand...
Click to collapse
I've had the same problem on every 2.1 ROM i've used/customized/made except legend based ROMs. It drives me nuts... It also blocks the perrrty weather animations.
liquidtenmillion said:
I've had the same problem on every 2.1 ROM i've used/customized/made except legend based ROMs. It drives me nuts... It also blocks the perrrty weather animations.
Click to expand...
Click to collapse
Seems to be fixed in Fresh 2.1.2. Did have this problem in 2.0d though.
Hi ,
Any news regarding the home button lag ?
I don't mean the wake up lag, which is annoying too but it's hardware issue.
I mean the home button lag, which means any program I running, and pressing the home button, it takes something like 1-2 seconds to return to home screen !!
I know this issue has been raised 1000 times (!!!) and that is the exact reason I am talking about this, it's annoying so many people, so how could it happen that it hasn't been resolved yet ?!
This is 100% software issue , CM7 for example doesn't have that. But I don't want to use CM7 ....
I also have it and it drives me crazy.
Disable voice2go and the other parts of the samsung TTS thing, use titanium backup or something, you will need to be rooted.
As when you press the home button it is waiting to see if you are going to double press it to activate the voice control.
veyka said:
Disable voice2go and the other parts of the samsung TTS thing, use titanium backup or something, you will need to be rooted.
As when you press the home button it is waiting to see if you are going to double press it to activate the voice control.
Click to expand...
Click to collapse
Did that, it doesn't help mate.
Oliwe has figured out a solution that requires some dev expertise:
http://forum.xda-developers.com/showthread.php?t=1227479&highlight=home+lag
I tried it myself and failed, but I'm sure ROM cookers will start implementing this ASAP.
Still a non issue