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?
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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With