Blackberry 10: Android Runtime & JNI

≯℡__Kan透↙ 提交于 2020-02-21 11:55:47

问题


Is JNI supported on the BlackBerry 10 Android Runtime? I would like to execute native c code in my android app which I'd like to deploy on the blackberry 10 os. In my android app, I use JNI to handle callbacks from the native c code to the java code. Is this supported on the bb10 android runtime?


回答1:


All I could find is this thread: Any plans for supporting Android Native Code which doesn't appear to have an official response.

My guess is that 'no' Android NDK won't be supported as Blackberry 10 already has a Native C/C++ SDK for those pure C/C++ apps (games, other performance heavy apps) or if you want UI widgets to use the C++/Qt/Cascades framework.

Edit: Found the official response under the Unsupported Software Features: 'Apps that utilize native code bundled into their APK file'. Blackberry 10 Unsupported Software Features for Android. So its a definite no for the Blackberry 10.1 and lower runtime using Android Gingerbread.

2013-12-05 Update: Looks like Blackberry 10.2 will be supporting Jelly Bean and have general support for Android JNI via the Android NDK with some limitations. See Blackberry Android Native Support



来源:https://stackoverflow.com/questions/13558356/blackberry-10-android-runtime-jni

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