Go Back   xda-developers > Development and hacking > Development and Hacking

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 31st March 2006, 03:11 AM
vijay555's Avatar
vijay555 vijay555 is offline
Moderator
 
Join Date: Jun 2005
Location: Witch Space
Posts: 5,760
Default [new release] VJDeviceLock - Easy Lock for New Roms

VJDeviceLock

Guys,

This is a small app in response to a request to this request:
http://forum.xda-developers.com/viewtopic.php?t=45007

I'm not sure what it's compatible with, but if you've got the new Universal rom (and maybe the Wizard?), you should have the "Device Lock" plugin installed by the ROM.

This app can be used to instantly lock the device using that plugin.

NOTE - it only works with that plugin, it's not a standalone lock. I may write my own device lock one day, but this is just for that plugin.

So assign it to a hardware key to lock your phone instantly. Or put it in your notification queue to lock the device every time it wakes up. Use your imagination!

Let me know if it works.

Available on my website!

V

PS - if it does or doesn't work, can you please post your hardware and ROM details so people can know if it's compatible. I've only tested it on my Universal with the Imate ROM.

Release Info:
2006.08.29 - Version 0.3: updated to not require today plugin to be loaded. Also shrunk down!

2006.09.04 - Version 0.4: added display off & lock (for when listening to music etc), go to Today & lock, and control to toggle the screen on and off (just in case!)
__________________
releases: www.vijay555.comtwitterdonatefrappr
Reply With Quote
Sponsored Links

  #2  
Old 31st March 2006, 04:04 AM
hamsup1o hamsup1o is offline
Member
 
Join Date: Mar 2005
Posts: 40
Default

Thanks for the app as usual!

Question..is it possible to use the app w/o having the Device Lock plugin on the today screen? I got an error msg asking if it's installed when I unselect it from the Today Items. Maybe next version?

Thanks again!
Reply With Quote

  #3  
Old 31st March 2006, 09:20 AM
BeyondtheTech's Avatar
BeyondtheTech BeyondtheTech is offline
Senior Member
 
Join Date: Jan 2005
Location: New Jersey
Posts: 452
Default

You do not disappoint, Vijay.

Quick question... what about those who don't have the Device Lock Today plug-in... can you include it/force it into a device such as my HTC Apache? The Sprint PPC-6700 in the new ROM update supposedly has it, but not the darn Verizon xV6700 ROM yet...
__________________
My TECHIE GARAGE SALE going on! Check it out here...
Reply With Quote

  #4  
Old 31st March 2006, 11:03 AM
vijay555's Avatar
vijay555 vijay555 is offline
Moderator
 
Join Date: Jun 2005
Location: Witch Space
Posts: 5,760
Default

Guys, as I've said, that app interacts with the plugin included in the new rom, and uses that for the lock.
Thus, using it without that plugin would make no sense - it uses that plugin to do the locking. As I've said, one day I might make my own lock, but for now, if if you use that plugin, I hope this app helps.

BeyondtheTech: I know this is a question that's been asked for a while, whether the plugin can be extracted. I've not really paid any attention because I only just upgraded to the new rom, and thought I might as well make this app because it was requested a while back and I can see that it would be useful. But I guess the plugin hasn't been extracted as a standalone yet then?

If not, I'll try to have a look into it

Did it work ok for anyone so far? It's using a technique I'm going to put back into VJToggleToday II, so need to know if it functions correctly for those who do have the plugin. Is it locking ok?

V
__________________
releases: www.vijay555.comtwitterdonatefrappr
Reply With Quote

  #5  
Old 31st March 2006, 11:55 AM
XDA II XDA II is offline
Member
 
Join Date: Dec 2003
Posts: 51
Default

Works like a charm here! Great app! Thanks a lot!
Reply With Quote

  #6  
Old 31st March 2006, 03:52 PM
black88mx6 black88mx6 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 11
Default

This works VERY GOOD!
Reply With Quote

  #7  
Old 31st March 2006, 04:41 PM
black88mx6 black88mx6 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 11
Default

This program works fantastic... I used memmaid to put a task in the notification que to run at startup. This way I power off the system as normal, and everytime it "wakes" up it will lock. Only other item on this that would be nice is the option not to use memmaid but to put itself in the notification que by itself.

Sprint PPC6700 AKU 2.0
Reply With Quote

  #8  
Old 31st March 2006, 05:01 PM
hamsup1o hamsup1o is offline
Member
 
Join Date: Mar 2005
Posts: 40
Default

Quote:
Originally Posted by vijay555
Guys, as I've said, that app interacts with the plugin included in the new rom, and uses that for the lock.
Thus, using it without that plugin would make no sense - it uses that plugin to do the locking. As I've said, one day I might make my own lock, but for now, if if you use that plugin, I hope this app helps.

BeyondtheTech: I know this is a question that's been asked for a while, whether the plugin can be extracted. I've not really paid any attention because I only just upgraded to the new rom, and thought I might as well make this app because it was requested a while back and I can see that it would be useful. But I guess the plugin hasn't been extracted as a standalone yet then?

If not, I'll try to have a look into it



Did it work ok for anyone so far? It's using a technique I'm going to put back into VJToggleToday II, so need to know if it functions correctly for those who do have the plugin. Is it locking ok?

V
Hi VJ, it works great with the Sprint Apache. What I meant was if it's possible to use this app w/o the Device Lock plugin being active on the today screen? The app would still interact with the plugin but somehow have it interact while it's not selected Start > Settings > Today > Items. I much rather use the extra space for another plugin. Hope this makes a little more sense.
Reply With Quote

  #9  
Old 31st March 2006, 05:45 PM
armstrom armstrom is offline
Member
 
Join Date: Mar 2006
Posts: 39
Default

Looks like you beat me to it I was about to release the same application this morning. It's a good thing I checked this thread I'm assuming you are doing the same thing I am by enumerating the windows looking for "LockPlugin" then posting a WM_KEYDOWN message to the window.

I added a few extra options to mine such as suspending the device after locking it and the ability to run a program after locking so you can see your task list, contacts, etc.. without having to unlock the phone.

Perhaps I gave away too much in my thread from yesterday: http://forum.xda-developers.com/viewtopic.php?t=45626
Reply With Quote

  #10  
Old 31st March 2006, 06:10 PM
vijay555's Avatar
vijay555 vijay555 is offline
Moderator
 
Join Date: Jun 2005
Location: Witch Space
Posts: 5,760
Default

armstrom: hey, release yours too! I didn't see your post, but it was the obvious way to do it, to enumerate the plugins and then lockdevice.

One question - how are you differentiating the two worker children (the tray and the plugins)? PM me to discuss. I'm not sure if my way is fullproof, which is why it's out for test..

I programmed this yesterday because it's been a busy week at work, and I wanted to program something simple to relax. I spent more time thinking of a name and an icon! In the end, VJDeviceLock was just easy. I wanted VJAnulus, but it looks too much like anus

Your version sounds much better though. I'd be interested to see it!

I have to say though - I still have concerns about the Today plugin itself, because it doesn't entirely block the screen; eg I use SmallMenu and it's still usable Quite silly. But, it's better then nothing. I'll try to write my own lock someday. Bruce from PocketMax has one out as well, but I've not tested it on WM5.

hamsup1o: I think there might be a way to lock the device without showing the plugin. If I get time to implement it, I'll try to. That way it won't take any space on the screen. But no guarantees :wink:

V
__________________
releases: www.vijay555.comtwitterdonatefrappr
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:47 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.