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 Developer
Posts: 12
Registered: ‎11-22-2011
My Device: Z30 ; Z10 ; Q10
My Carrier: Verizon Wireless

How to set password in device programmatically



I am developing a security application for blackberry devices. In my application, User can remotely lock his/her device by simply invoking "Lock Phone"  command on the web. Everything is working fine except  a case, when user does not set password in his/her device In this case, application is not able to lock the phone. Can anybody help me in how can i set the password programmatically and lock the phone??


Please reply ASAP it  is very urgent to resolve this issue.


All Replies
Posts: 16,855
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to set password in device programmatically

this can be done using BES, but there is no API for it.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter