问题
I'm beginning to develop Blackberry 10 (using Native SDK). Is there any method to lock phone or reset password ?
I tried to read the documentation here : http://developer.blackberry.com/native/reference/bb10/library_support_at_a_glance_reference.html But I couldn't find any API
回答1:
I think there's no such functions in the current SDK version possibly due to some security limitations on BB10 platform.
However, you're still able to listen/respond to such events. The functionality for that could be found in navigator.h
library particularly in the navigator_event_get_device_lock_state()
function.
Here is additional information on that:
- navigator_event_get_device_lock_state() function reference
- Device Lock/Unlock documentation
来源:https://stackoverflow.com/questions/17561645/how-to-lock-phone-or-reset-password-blackberry-10-with-native-sdk-api