Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Highlighted
Developer
Developer
Posts: 227
Registered: ‎01-17-2012
My Device: PB
My Carrier: ATT
Accepted Solution

ANE

How does one package an ANE using FB 4.5.1?

 

I followed the example to build the ANE and extension lib, but it uses FB 4.6 to create the bar file and 4.5.1 doesn't have the ANE tab.

 

Does the extension.xml also need to be included in the bar file?

 

Regards,

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: ANE

Are you using QNX Momentics IDE 10.0.4 to build the C/C++ side?
Developer
Developer
Posts: 227
Registered: ‎01-17-2012
My Device: PB
My Carrier: ATT

Re: ANE

QNX® Momentics IDE for BlackBerry® Native SDK for Tablet OS

Version: 2.0.0
Build id: 201202171813

Retired
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: ANE

Make sure you are using Flash Builder 4.6. It is one of the SDKs system requirements. If you have 4.5 I believe 4.6 is a complimentary update from Adobe. Just make sure to uninstall 4.5 first.

 

Regards,

Dustin 

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: ANE

If you use the latest IDE (10.x) you can export an ANE and it does all the packaging for you. You just need to point it to the AIR SDK and your SWC file, and voila, you have an ANE. It is very nice when you make changes to the ANE. Otherwise, you have to unpack your SWC each time to run the command line arguments (or script).
Developer
Developer
Posts: 227
Registered: ‎01-17-2012
My Device: PB
My Carrier: ATT

Re: ANE

Momentics 2.0.0 also exports the swc, given the SDK and SWC, but when I run the app, it crashes immediately, probably during initialization of the ANE, so I was thinking that the ane and extension.xml were not being included...

 

Now, I've uninstalled and upgraded to 4.6 - and am back to a 60 day trial - Adobe didn't remember the serial number from 4.5... arghhh!

Developer
Developer
Posts: 227
Registered: ‎01-17-2012
My Device: PB
My Carrier: ATT

Re: ANE

whats worse, the debugger will no longer connect to my PB, although it DID successfully test the USB connection and download a new debug token...

 

 

Developer
Developer
Posts: 227
Registered: ‎01-17-2012
My Device: PB
My Carrier: ATT

Re: ANE

debugger connects if I enter the host IP after the tablet times out???

 

Now, momentix can't find ADT - where is it configured?

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: ANE

adt is in
C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\bin
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: ANE

May have answered your question incorrectly. ADT is configured when referenced to the 4.6 SDK.