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

New Contributor
Posts: 6
Registered: ‎02-28-2013
My Device: BB OS 7
My Carrier: BB 9900

Re: How to programmatically detect the the Lock screen is shown?

@M Sohm
I have tried this ApplicationManager.getApplicationManager().isSystemLocked(); (work)
to lock : ApplicationManager.getApplicationManager().lockSystem(true); (not work)
to unlock : ApplicationManager.getApplicationManager().lockSystem(false); (not work)

whats wrong with the code ?