Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,209 Members 37,811 Now Online
XDA Developers Android and Mobile Development Forum

(UPDATED 18-09-2010) Auto Lock (CSDEVCTRL)

Tip us?
 
chrisstavrou
Old
#31  
Recognized Developer - OP
Thanks Meter 21
Posts: 455
Join Date: Mar 2005
Location: Nicosia
Ok guys,
i tried to satisfy all your 'needs'
The program is now using registry for easier changing of its options.
Please read the first post as all options are like turn on/off.

Sebastian, i noticed that certain programs tent to minimize once today screen gets focus. I will have more look at it.

Thank you for your comments.
 
chrisstavrou
Old
#32  
Recognized Developer - OP
Thanks Meter 21
Posts: 455
Join Date: Mar 2005
Location: Nicosia
Added one more option as i found it wise to first get the screen dimmed then wait for a few seconds allowing the user to react. If not action is taken then the lock is set.
 
chrisstavrou
Old
#33  
Recognized Developer - OP
Thanks Meter 21
Posts: 455
Join Date: Mar 2005
Location: Nicosia
Default HOW TO: SPB Shell Now Screen

These are the settings so that when lock is applied (after dim or wake), SPB Shell Now Screen appears:

- LockAfterWake=1
If set to 1 it will lock the device after the device has waken (not soft reset).

- DelayBeforeLockMsAfterWake=250
Time in ms to wait before applying the lock from wake and running any program (no need to change).

- LockAfterDim=1
If set to 1 it will lock the device after the screen has dimmed (user inactive).

- DelayBeforeLockMs=250
Time in ms to wait before applying the lock from dim and running any program (no need to change)

- LockAfterDimSeconds=10
Time in seconds to wait before applying the lock once the screen has dimmed.

- ShowTodayAfterLock=0

-- AfterLockRunFilePath=\Program Files\Spb Mobile Shell\MenuLauncher.exe
XXX (if not left blank) it can be an executable/registed file which will be run after the lock.
-- AfterLockRunFileParm=-now
XXX (if not left blank) they are the command line arguments of the previous option.

Remember to disable the option of Spb Shell:
'Show the Now Screen when device wakes up'
 
Demostrike
Old
#34  
Demostrike's Avatar
Junior Member
Thanks Meter 0
Posts: 25
Join Date: Apr 2008
Location: Newcastle
Wow this is great, thanks a lot!
 
die_Melle
Old
#35  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Feb 2008
Hi.

I would like to try this App, but hm.. dont know how to get it work

Is it possible that someone can describe it in german for me?

Thanks, Melle.
Narf!
 
chrisstavrou
Old
#36  
Recognized Developer - OP
Thanks Meter 21
Posts: 455
Join Date: Mar 2005
Location: Nicosia
I am sorry i do not know german.

However, i changed the program so no setup is needed.

What you simply need to do is:
a. Copy the file to your PDA.
b. Run it
c. If you switch off your device and then switch it on within a few seconds, it will lock your device.
 
die_Melle
Old
#37  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Feb 2008
Ok, here is what i did..

copy the file to my device, then ran it, got errormessage "cant find optionsfile", ran it again, got the message "terminating optionsfile"
then switched off and on, but it still happens nothing

what am i doing wrong? maybee i am sitting in the forest not seeing any trees...
Narf!
 
chrisstavrou
Old
#38  
Recognized Developer - OP
Thanks Meter 21
Posts: 455
Join Date: Mar 2005
Location: Nicosia
you are using a very old one. Try to get the latest from the first post and repeat exactly what you did.

It should work as you mentioned.
 
yesod7
Old
#39  
yesod7's Avatar
Senior Member
Thanks Meter 1
Posts: 161
Join Date: Dec 2007
Location: Portland, OR

 
DONATE TO ME
Default In-Call Key Lock?

chrisstavrou, I am looking for a program which will not only lock the screen during a call, but also lock all buttons except for the power button. I have tried Windows Screen Lock, S2U2, PalmarySoft.Phone.ScreenLock.v1.8 and rev3nant's Organic Lock, but all of these (and yours) only lock the screen. During a call, you can still hit the scroll wheel, the call button, or the end button, which is what happens to me when answering a call with the phone in my holster. Any help/advice you could give would be welcome.
Currently sporting an HTC Rezound on Evervolv

R.I.P.:
DROID X2
DROID X
AT&T Tilt 2
AT&T Tilt (Kaiser)


LIVE BRAVE!
 
mousio
Old
#40  
Member
Thanks Meter 0
Posts: 78
Join Date: Mar 2007
Looks great already, will try it out again!
.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Increase Your Multitasking Workflow with C-Floating Windows

Technology has put life on the fast track. Lazy, relaxed days have turned into … more

Compile Your Own Kernel From Source with Comprehensive Tutorial

One glance at any developer section of any device forum on XDA and youll find … more

WowWee Mip – Android Accessory Review – XDA Developer TV

The holidays will be here in no time, so why not start thinking about … more

Stream Your Media Files with the New Version of Droid Sync Manager

Android is a Linux-based operating system, but this fact doesn’t put … more