10-19-2011 11:21 AM
It appears that Flash Builder 4.6 is needed to build Native Extensions to NDK applications. Is this true? What are the plans to upgrade from 4.5.1 to 4.6 with QNX/BBX?
Any guidance and examples on this would be much appreciated.
10-19-2011 12:39 PM
While it should be technically possible to use ANE's in a PlayBook project in FB 4.5.1 and package your app via the command-line, version 4.6 should make it a lot easier. However, there is no BlackBerry SDK for FB 4.6 yet. You can register for the FB 4.6 pre-release if you like.
To create your own ANE's you'll need the BlackBerry Native SDK (NDK). You can't do that in FlashBuilder, or not yet, as far as I know.
10-19-2011 01:38 PM
Thanks for asking this question jtegen, I was just looking for the same information.
-So is ANE possible using the current BB tablet OS SDK?
-Can we get a feed or information about the presentation tomorrow?
-Is there an indication when we can expect a new SDK that support FB 4.6?
10-19-2011 06:25 PM
10-19-2011 08:41 PM
10-20-2011 06:22 AM
I am trying this right now, but I ran into a little problem. When I try to package the ANE I don't know which platform to enter:
adt -package -target ane ~/Downloads/HelloWorld.ane ~/Documents/Blackberry\ Projects/HelloWorldExtension/Library/descriptor.xm
l -swc ~/Documents/Blackberry\ Projects/HelloWorldExtension/Library/com.Endare.He lloWorld.extension.swc -platform arm ~/Documents/bb-ndk/HelloWorldExtension/Device-Debu g/libHelloWorldExtension.so
I tried arm, arm-le, playbook, blackberry... None of them work. They all result in:
Unexpected implementation for platform: arm
Does anyone have a clue? Also I don't know which platform to enter in the extension descriptor xml as well.
10-20-2011 07:30 AM
It should be QNX-ARM (for deployment on the PlayBook) or QNX-x86 (for the simulator). Case sensitive. The same for extension.xml. You'll also need to add permission run_air_native to the blackberry-tablet.xml.