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

Native Development

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

Do libraries created to use with AIR need signing?

Do libraries created with the NDK to be used for AIR via the Native Exension need to be signed?

Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Do libraries created to use with AIR need signing?

When packaging an AIR app with a native shared library, the library is put inside the AIR app "META-INF" directory. When you sign the AIR app all files insides the AIR app directory will be signed using the same key, including the native shared library.


Also the concept of AIR Native Extension allows native code to be used in your AIR app. The native code developer will not sign the library.  The developer who is responsible to distribute the app will need to sign it.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
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: Do libraries created to use with AIR need signing?

That helps.
Will someone be posting a tutorial on getting the NDK to work with AIR via Native Extension and address if FB4.6 is needed or can it be done now with FB4.5.1? I've read up on Native Extension and it does not seem too complicated, just want to make certain the current environment is suitable for this.
Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Do libraries created to use with AIR need signing?

You can use the current tools and FB 4.5.1 to create ANEs.  We don't have any documentation or tutorials available for this yet.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.