Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 1,531
Registered: ‎07-14-2008
My Device: Z10

isSystemLocked() not working on latest OS5

did RIM change this on the lastest OS5?

 

ApplicationManager.getApplicationManager().isSystemLocked()

 

the above suppose to return TRUE if the bb is locked eg: keyboard lock

 

this works on simulators Storm OS5.334 and OS5.442 9700 but it DOES NOT work on OS5.484 for 9630 sim and the last Storm Sims

 

can anybody confirm this? thanks

 

Developer
Posts: 1,531
Registered: ‎07-14-2008
My Device: Z10

Re: isSystemLocked() not working on latest OS5

anybody?

 

Also found that injecting event with  Keypad.KEY_LOCK DOES NOT work either on the Storm OS5.

 

when calling ApplicationManager.getApplicationManager().lockSystem(true) is this keyboard locking or password locking?

 

 

can someone from RIM please confirm this?

 

 

Developer
Posts: 155
Registered: ‎02-18-2009
My Device: Not Specified

Re: isSystemLocked() not working on latest OS5

What do you actually mean with "is locked"? I think locking the keyboard is not what they mean with a system lock. Afaik when the system is locked a password must be entered to unlock the system. Access to PIM entries etc. is not allowed as long as the system is locked. That's why there is a method isSyste mLocked() to check whether device data is accessible or not. When the  keyboard is locked I think that all system resources are still accessible.

 

Developer
Posts: 1,531
Registered: ‎07-14-2008
My Device: Z10

Re: isSystemLocked() not working on latest OS5

If you ever used the function before you can get the status of keyboard.  this all works prior to the new OS 5.0.0.5xxx

 

If the lock and unlock system functions dont even work.