Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Blackberry 10: Android Runtime & JNI

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?

like image 602
Houston Avatar asked Nov 26 '12 03:11

Houston


People also ask

How Long Will BlackBerry 10 be supported?

Effective end of day January 4, 2022, BlackBerry is ending support for non-Android BlackBerry devices running on the following software versions: BlackBerry 7.1 OS and earlier. BlackBerry 10.

Does BlackBerry 10 use Android?

BlackBerry 10 is a proprietary QNX-based operating system. In addition to native core system apps and services, BlackBerry 10 includes the BlackBerry Runtime for Android Apps, which consists of the open-sourced Android application framework running on top of the QNX microkernel.

Can you still use BlackBerry 10?

Blackberry users said goodbye to the iconic device on January 4, 2022. The phone's legacy software was decommissioned, meaning all classic Blackberry phones can no longer be used.

Can BlackBerry Z10 run Android OS?

You can't. Officially, Android is not available for the Blackberry Z10. Android may be an open OS, but Google Play Services is not. Google Play Services is licensed and may only be used through licensing agreements and permission from Google.


1 Answers

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

like image 114
Morrison Chang Avatar answered Nov 11 '22 21:11

Morrison Chang