黑莓10:Android运行时&杰尼 [英] Blackberry 10: Android Runtime & JNI

查看:100
本文介绍了黑莓10:Android运行时&杰尼的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

BlackBerry 10 Android Runtime是否支持JNI?我想在我想在blackberry 10 os上部署的android应用程序中执行本机c代码.在我的Android应用程序中,我使用JNI处理从本机C代码到Java代码的回调. bb10 android运行时支持吗?

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?

推荐答案

我所能找到的就是这个线程:

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

我的猜测是,不支持Android NDK,因为Blackberry 10已经为那些纯C/C ++应用程序(游戏,其他性能要求较高的应用程序)提供了本机C/C ++ SDK,或者如果您希望UI小部件使用C ++/Qt/Cascades框架.

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.

在不支持的软件功能下找到了官方答复:使用捆绑到其APK文件中的本机代码的应用程序". 不支持Android的Blackberry 10功能.因此,对于使用Android Gingerbread的Blackberry 10.1和更低版本的运行时,绝对不是这样.

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更新:看起来Blackberry 10.2将支持Jelly Bean,并通过Android NDK全面支持Android JNI,但有一些限制.请参见 Blackberry Android本机支持

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

这篇关于黑莓10:Android运行时&杰尼的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆