Search This Blog

Friday, 25 May 2012

How to check if Phone is locked or not in Blackberry

Hello friends,
                    May be its a lil helpful for you , its as simple as making ice.......to check if the ph. is locked or not and if its not locked you can lock it programmatically.

Code:

ApplicationManager _manager = ApplicationManager.getApplicationManager();

To check if ph. is locked or not :
_manager.isSystemLocked()      <returns true if ph. is locked>

To Lock the phone programmatically :

_manager.lockSystem(true);



CHAO!!! try it

No comments:

Post a Comment