If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
Regular Contributor
Vemilyus
Posts: 54
Registered: ‎03-21-2011
My Device: 1st Gen BlackBerry PlayBook 16GB (Gift from RIM :D)
My Carrier: WiFi

BB10 SDK for AIR: What are the ANEs for?

Yeah, the title doesn't quite cut it, so I'll explain:

The new BB10 AIR SDK contains 4 SWC libraries and 4 Adobe Native Extensions.

The 4 SWCs I can deal with, but why are there 4 Native Extension libraries?

If you take a look inside the ANE files (they are just zip archives), you will discover NO compiled binary code!

 

Example (QNXDevice.ane structure)

QNXDevice -  catalog.xml

         |-  library.swf

         |-  mimetype

         |-> META-INF

                 |-> ANE -  extension.xml

                        |-> default - library.swf

 

As you can see, there are absolutely no binary files included!

 

Please tell me: Why are there ANE files, if they contain no native code, as the name would suggest?

Just remove, mimetype and the META-INF folder and call it a SWC. It's as simple as that...

This is a signature. Don't expect anything fancy, for I would use an image if I could. But I can't, so cope with it...
Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: BB10 SDK for AIR: What are the ANEs for?

Interesting. No .so. Maybe it is a place holder for the next update?
Please use plain text.
Regular Contributor
Vemilyus
Posts: 54
Registered: ‎03-21-2011
My Device: 1st Gen BlackBerry PlayBook 16GB (Gift from RIM :D)
My Carrier: WiFi

Re: BB10 SDK for AIR: What are the ANEs for?

I don't know. Honestly, I don't believe that. The functionality is there! But not in the library in the SDK, but in the runtime on the device. The functionality that is offered by the SDK, is hardcoded into the AIR runtime on our tablets.
This is a signature. Don't expect anything fancy, for I would use an image if I could. But I can't, so cope with it...
Please use plain text.