我可以通过 Blackberry-7 检索呼叫日志,但不能从 blackberry-10 操作系统检索呼叫日志。
没有提供获取黑莓 10 操作系统通话记录的方法。
是否可以在 blackberry-10 中使用 blackberry-7 的方法?
我可以通过 Blackberry-7 检索呼叫日志,但不能从 blackberry-10 操作系统检索呼叫日志。
没有提供获取黑莓 10 操作系统通话记录的方法。
是否可以在 blackberry-10 中使用 blackberry-7 的方法?
It turns out you can't do it in WebWorks, but you can add a native extension. I'm sorry that I can't provide you an example, but take a look at BlackBerry 10: Creating native extensions . From that page:
Although a BlackBerry WebWorks application has a wide range of functionality, that functionality is limited to the resources that the application contains. By creating a custom extension, you can extend the functionality of your application to include the features and functions provided by core native APIs that are available to BlackBerry 10 OS applications.
You create a custom extension in C/C++, which are the native languages for BlackBerry 10 OS, and then you wrap it in JavaScript. When you build and package your BlackBerry WebWorks application, you include the extension, so that your application can access the extension through JavaScript. You can pass arguments into the extended function and handle return values as you would in any native BlackBerry 10 OS application.