01-17-2014 05:55 AM - edited 01-17-2014 06:34 AM
If my Android app has NDK library, and I want to support BOTH Blackberry 10.2 and Blackberry 10.1 or BELOW.
Because Playbook still using old Blackberry OS.
What should I do?
01-17-2014 06:29 AM
01-21-2014 02:44 PM
Support for Android NDK (JNI code) is only supported on BlackBerry 10.2.1. So you will need to test and target your application only on the latest BlackBerry OS.
03-11-2014 08:57 AM
I must have misunderstood something.
It is being said, that BlackBerry's Android Runtime now supports native code. I did a completely fresh install of the development environment (Eclipse, ADT, Blackberry plugin) according to the Blackberry ADT plugin installation specifications, and BlackBerry verification still fails with message "class: com.example.MyApp.Foobar. uses NATIVE access".
Am I doing something wrong here? I did set the target version to 10.2 (10.2.1 was not available).
So, how do I get my ADT with BlackBerry plugin to repackage and install my Android app, which is using some native code, on my BlackBerry device?
03-11-2014 09:05 AM
03-11-2014 09:13 AM
Are there any instructions regarding integration of the latest tools into the Eclipse/ADT/BlackBerry plugin development environment?
I have downloaded the beta tools and the verifier ran over my .apk without errors, even the repackaged .bar file was created, but i wasn't able to install it onto my test device. Are there any instructions on how to do that? I uploaded the repackaged .bar file on my test device, expecting the file manager to run the installation, btu nothing happened.
What am I doing wrong?
03-11-2014 10:57 AM
All the documentation for the new 2.0 beta tools can be found here: http://developer.blackberry.com/android/documentat
As for your second question, the device doesn't support BAR file installation. Only APK file installation. You can deploy the application from Eclipse to your device for testing, or you can place the APK file on your device to install it via the file manager. Just make sure its a release build and not a dev release.