I have an Android application that uses DevicePolicyManager. In that application, I can call some methods to lock phone, reset password, ...
Now, I'm cloning this application on BlackBerry. I tried to use the ApplicationManager
class and call lockSystem(true)
. But the phone is not locked, only the keyboard is locked and when pressing the "End Call" key, the keyboard is unlocked again.
Please tell me if there is any class on BlackBerry that is similar to DevicePolicyManager
on Android.
Unfortunately, no.
It looks like the ApplicationManager#lockSystem(true) call has been deprecated for a while now.
The BlackBerry APIs also don't provide a way to reset the password, although an administrator can do this with BES.