How to lock phone or reset password BlackBerry 10 with Native SDK API?

帅比萌擦擦* 提交于 2019-12-12 04:49:29

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!