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: 9
Registered: ‎11-22-2011
My Device: 8900

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.


Please use plain text.
Posts: 16,216
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

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
Please use plain text.