BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 01-22-2007, 05:15 AM   #1
metsfan
Thumbs Must Hurt
 
metsfan's Avatar
 
Join Date: Jan 2007
Model: 8100
Carrier: T-Mobile
Posts: 141
Default AutoLock for BlackBerry

Please Login to Remove!

This started in this thread: http://www.blackberryforums.com/gene...ypad-lock.html but I figured I should post it here, as it's buried in there.

AutoLock automatically turns on the keylock on the Pearl after the blacklight turns off.

0.5:
OTA
alx/cod

After installation, all options are in Options->AutoLock. Current options are:
  • Enable/Disable
  • Delay after backlight turns off: 1sec,5s,10s,15s,30s,45s,1min,2min,5min,10min
  • Action when plugged in: Lock/Don't Lock
  • Action when on call: Lock/Don't Lock
__________________
Get AutoLock, SoftReset, and ColorPearl for the BlackBerry! Like my software? Donate!

Last edited by metsfan; 02-02-2007 at 11:20 PM..
Offline  
Old 01-25-2007, 02:29 PM   #2
pretz33
New Member
 
Join Date: Jan 2007
Model: 8100
Posts: 1
Default

Hi, other than OTA installation, is there a version I can download and install via the computer link?
Thanks
Offline  
Old 01-25-2007, 02:32 PM   #3
John Clark
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
Default

I used BBManager to create a .cod and .alx. I'll post if it's ok with the developer of the app.
Offline  
Old 01-25-2007, 02:40 PM   #4
metsfan
Thumbs Must Hurt
 
metsfan's Avatar
 
Join Date: Jan 2007
Model: 8100
Carrier: T-Mobile
Posts: 141
Default

That would have been fine with me, but I've put the alx/cod in a zip file: http://www.geekandproud.net/blackber...k/autolock.zip
__________________
Get AutoLock, SoftReset, and ColorPearl for the BlackBerry! Like my software? Donate!

Last edited by metsfan; 01-26-2007 at 06:04 PM..
Offline  
Old 01-25-2007, 02:42 PM   #5
John Clark
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,720
Default

Thanks! That's how I've been turning it on and off!
Offline  
Old 01-25-2007, 03:51 PM   #6
Pearl
No longer Registered.
 
Pearl's Avatar
 
Join Date: Dec 2006
Model: 8100
Posts: 68
Default

Interesting idea... would be very annoying for me to have to hit those two buttons to unlock the phone. However even though you hit the buttons, the lights still come on, but the phone is locked.

if you could make it go to standby that would be sweet. Think of energy saved....
Offline  
Old 01-25-2007, 06:33 PM   #7
metsfan
Thumbs Must Hurt
 
metsfan's Avatar
 
Join Date: Jan 2007
Model: 8100
Carrier: T-Mobile
Posts: 141
Default

Quote:
Originally Posted by Pearl
Interesting idea... would be very annoying for me to have to hit those two buttons to unlock the phone. However even though you hit the buttons, the lights still come on, but the phone is locked.

if you could make it go to standby that would be sweet. Think of energy saved....
I don't see any easy way to have an app put it in standby, but I'll keep looking. If I can do it, it'll be an option.
__________________
Get AutoLock, SoftReset, and ColorPearl for the BlackBerry! Like my software? Donate!

Last edited by metsfan; 01-26-2007 at 06:01 PM..
Offline  
Old 01-25-2007, 06:37 PM   #8
metsfan
Thumbs Must Hurt
 
metsfan's Avatar
 
Join Date: Jan 2007
Model: 8100
Carrier: T-Mobile
Posts: 141
Default

Version 0.3!

New in this version:
  • Removed Icon
  • Added Options
    • Enable/Disable
    • Delay after backlight shuts (1s,5s,10s,15s,30s)

To find these options, go to the Options app/menu and choose AutoLock.

OTA Download
ZIPped alx/cod for Application Loader installation.
__________________
Get AutoLock, SoftReset, and ColorPearl for the BlackBerry! Like my software? Donate!

Last edited by metsfan; 01-26-2007 at 06:01 PM..
Offline  
Old 01-26-2007, 01:07 PM   #9
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Sweeeet, I was waiting for the enable/disable to install and try - works like a charm, thanks for the code-fu!
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 01-26-2007, 02:37 PM   #10
billclark
Talking BlackBerry Encyclopedia
 
billclark's Avatar
 
Join Date: Mar 2006
Location: Framingham, MA
Model: 8120
Carrier: AT&T
Posts: 253
Default

Awesome app! Makes my life so much easier Gotta say, I'm loving my first day with the Pearl.

-B
__________________
Bill Clark
AT&T 8120 Unlocked | AT&T | BES 4.1
PM for PIN

When I was your age, Pluto was still a planet.
Offline  
Old 01-27-2007, 01:43 PM   #11
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

@metsfan:

Out of curiosity (mainly for my battery life), how often does this app poll for the backlight having gone off for it to countdown? For instance, I have mine set to 30sec (ps: next version, can we get 45 and 60sec added?) -- given it's 30sec countdown, I'm wondering how often it actually is checking the handset.

Once it's in locked mode, I assume it stops polling altogether and only "wakes up" after the keyboard has been unlocked? (or the display becomes active?) Is there a seperate poll for this that's... longer?

One interesting side effect of using this that might be hard to catch if you're not looking close -- when you wake up the device after the backlight+lock has occured, the screen "goes white" for a split second before the normal mainscreen UI is redrawn.

- set it to 30secs, let the backlight turn off then wait for a lock
- press the pearlball (sic) to wake up the screen, watch carefully for the white flash (only happens for a split second)

...now go ahead and Disable autolock, let it sleep again (either keypad locked or unlocked, doesn't seem to matter) and then press the pearlball to wake it up -- no white-screen-flash occurs. I'm curious why this is happening with AutoLock.

EDIT: with the above, I have a black background which makes the white flash appear more boldly. Linked below from where I found it, it looks awesome on the black Pearl with the T-Mobile Zen theme.

__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/

Last edited by rivviepop; 01-27-2007 at 01:46 PM..
Offline  
Old 01-27-2007, 02:37 PM   #12
metsfan
Thumbs Must Hurt
 
metsfan's Avatar
 
Join Date: Jan 2007
Model: 8100
Carrier: T-Mobile
Posts: 141
Default

It doesn't poll at all. The RIM API includes a listener that will call the program whenever the backlight status changes. The delay option is how long to wait AFTER the backlight goes off. So if you set your backlight timeout to 30 seconds, and then the delay in AutoLock to 30 seconds, it'll be a minute before it locks the keys. For this, it just waits the additional delay, and checks again, doesn't poll either.

I can't see the white screen thing happening, but that doesn't mean it's not. Just means my eyes aren't fast enough.

New planned feature: Option to not lock if the device is plugged in to a power source.
__________________
Get AutoLock, SoftReset, and ColorPearl for the BlackBerry! Like my software? Donate!
Offline  
Old 01-27-2007, 02:55 PM   #13
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Quote:
Originally Posted by metsfan
It doesn't poll at all. The RIM API includes a listener that will call the program whenever the backlight status changes.
Oh now that is one sweet hook, it means we're not wasting any battery life at all using constant polling. wooo.

Yah on the 30secs -- I was feature-requesting 45 and 60 because there are times when I'm using the device but get interrupted (got kids or pets? ) and didn't really want it to lock so quickly as 30secs. Just one of those things...
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 01-27-2007, 03:00 PM   #14
metsfan
Thumbs Must Hurt
 
metsfan's Avatar
 
Join Date: Jan 2007
Model: 8100
Carrier: T-Mobile
Posts: 141
Default

Sure, I'll add those for the next release.
__________________
Get AutoLock, SoftReset, and ColorPearl for the BlackBerry! Like my software? Donate!
Offline  
Old 01-29-2007, 03:00 PM   #15
metsfan
Thumbs Must Hurt
 
metsfan's Avatar
 
Join Date: Jan 2007
Model: 8100
Carrier: T-Mobile
Posts: 141
Default

0.4 out.

Adds longer delays, and the option to not lock the keys if the device is plugged in.
__________________
Get AutoLock, SoftReset, and ColorPearl for the BlackBerry! Like my software? Donate!
Offline  
Old 01-29-2007, 04:36 PM   #16
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

thanks! I love the smell of fresh code on a Monday.

*click* *download* *reboot*

So I just realized I have one more feature request, but I'm not sure if it's doable on your end or not (depends if there's an API hook, I think). Would it be possible to have a checkbox option "don't lock during voice call" ?

A number of times I was kind of annoyed (not a lot, just a little) that the keypad autolocked while I was on a call; once I wanted to switch to speakerphone and had to unlock it mid-call, but the rest of the time I wanted to use the device right after hanging up.

This happened just 10 minutes ago while I was making a call during lunch, too bad I missed asking for the 0.4 release... Personally I want to not lock the keys while I'm talking (usually it involves hanging up, going into the calendar and adding a new meeting/appointment from that call).
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 01-29-2007, 04:44 PM   #17
metsfan
Thumbs Must Hurt
 
metsfan's Avatar
 
Join Date: Jan 2007
Model: 8100
Carrier: T-Mobile
Posts: 141
Default

Quote:
Originally Posted by rivviepop
thanks! I love the smell of fresh code on a Monday.

*click* *download* *reboot*

So I just realized I have one more feature request, but I'm not sure if it's doable on your end or not (depends if there's an API hook, I think). Would it be possible to have a checkbox option "don't lock during voice call" ?
I think I can do that. Initially, I tried to have that in there, but thought I had to have the program keep track of received and outgoing calls, and hangups, and just generally track the phone state, which would have been annoying and likely incomplete. Now, I think I've found a way to just check if the phone is on a call, so I should be able to.
__________________
Get AutoLock, SoftReset, and ColorPearl for the BlackBerry! Like my software? Donate!
Offline  
Old 01-29-2007, 05:55 PM   #18
billclark
Talking BlackBerry Encyclopedia
 
billclark's Avatar
 
Join Date: Mar 2006
Location: Framingham, MA
Model: 8120
Carrier: AT&T
Posts: 253
Default

Hey metsfan, what language are these apps written in? I'm not much of a programmer, but I was just curious to see if BB development is something I might be interested in teaching myself.

Also, thanks again for a great app!

EDIT: Ok, so I'm a big old idiot today... One would think that I'd realize its written in Java, with the BB being a java based platform LOL!
__________________
Bill Clark
AT&T 8120 Unlocked | AT&T | BES 4.1
PM for PIN

When I was your age, Pluto was still a planet.

Last edited by billclark; 01-29-2007 at 06:31 PM..
Offline  
Old 01-31-2007, 12:59 PM   #19
trudgy
New Member
 
Join Date: Aug 2006
Location: ontario canada
Model: 8100
Carrier: Rogers
Posts: 9
Default

just wanna say loving your software, it's little apps like this that make everything seem to make your experience with the device so much better. keep up the good work and i'll be sure to drop ya a dontation in the near future
Offline  
Old 02-02-2007, 02:50 PM   #20
wdwms
New Member
 
Join Date: Feb 2007
Model: 9000
Carrier: AT&T
Posts: 6
Default

Would love to see the delays more configurable. Say 5-10 minutes.. 1 min after my screen goes out is too quick!

Thanks!
Offline  
Closed Thread



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


Schneider PLC TWIDO TM2AMM6HT ANALOGUE I/O MODULE 20mA 24VDC Missing Terminal picture

Schneider PLC TWIDO TM2AMM6HT ANALOGUE I/O MODULE 20mA 24VDC Missing Terminal

$156.00



Computer Boards CIO-DAS1602/16 DAQ Card, 8-bit ISA, 16-Ch 16-Bit 100Khz with I/O picture

Computer Boards CIO-DAS1602/16 DAQ Card, 8-bit ISA, 16-Ch 16-Bit 100Khz with I/O

$600.00



SCHNEIDER Twido TW2AMI2HT Analog 2 in 0-10v, 4-20ma Module PLC Modicon picture

SCHNEIDER Twido TW2AMI2HT Analog 2 in 0-10v, 4-20ma Module PLC Modicon

$119.99



SCHNEIDER Twido TWDAMM6HT Analog I/O Module PLC Modicon picture

SCHNEIDER Twido TWDAMM6HT Analog I/O Module PLC Modicon

$119.99



Electronic Development Company Programmable IEEE 488 GP-1B D.C Calibrator EDC521 picture

Electronic Development Company Programmable IEEE 488 GP-1B D.C Calibrator EDC521

$1200.00



NEW NO BOX- Analog Devices AIM03 Computer Module || Fast Shipped🇺🇸Warranty picture

NEW NO BOX- Analog Devices AIM03 Computer Module || Fast Shipped🇺🇸Warranty

$150.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.