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
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon
Accepted Solution

FB4 Final Build

I was testing the Export Released Build process to be then installed on the PB.  The release build normally build the AIR installer file.  What would be the best process to extract the non-debug version of an application (SWF, XML files, assets) to be sent to the PB like the debug version in /bin-debug normally does?

Developer
Posts: 17
Registered: ‎11-22-2010
My Device: PlayBook

Re: FB4 Final Build

I am new to BB and Playbook development, so this may not make sense, but at this point I don't think the "Export Release Build" is useful for the Playbook.  When you create a "Run Configuration", there are install options.  Under the "Run Configurations", when you create a new configuration for the BlackBerry Tablet Air Application, the Deployment Method states "Target (IP Address of Host Name of the Device or Simulator).

 

My guess is that you use the run configuration and the IP address of the device to install applications to the physical device.

 

BTW, Adobe will probably have an option in FB 4.5 to create mobile apps, targeted at the Playbook.  I think they currently have that for the Android, but plan to expand their supported mobile devices.

 

This is an Adobe pdf on Building Air apps.  Chapter 11 has information on how the Android is supported.  

 

http://help.adobe.com/en_US/air/build/air_buildingapps.pdf

 

Brad

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

Re: FB4 Final Build

That is for normal deployment, but I want to build a non-debug version which usually decreases the file size substantially (as with Flex applications).  Seeing if someone has gone thru a release build process yet.

BlackBerry Development Advisor
Posts: 417
Registered: ‎10-27-2010
My Device: PlayBook

Re: FB4 Final Build

Export Release Build is supported in FB 4.5 integration. Not in FB 4.0. I don't know if you can turn off debug in FB 4.0, if you can, you can just package application using same launch configuration but select Package Only and Production Mode. 

Regular Contributor
Posts: 86
Registered: ‎10-25-2010
My Device: Not Specified

Re: FB4 Final Build

Until the tooling works it out, one method is to create the .airi file in the export process. This .airi file is just a zipped up package, change it to .zip. And then follow the steps I posted on how to repackage AIR for Android .apk apps into .bar applications at the post here:

 

http://renaun.com/blog/2010/11/repacking-an-air-based-apk-to-playbook-bar/

blog: http://renaun.com
twitter: @renaun
Regular Contributor
Posts: 86
Registered: ‎10-25-2010
My Device: Not Specified

Re: FB4 Final Build

Totally spaced it on this one. In Project -> Properties -> Flex Compiler then in the "Additional compiler arguments" text field add "-debug=false". That will build non-debug SWF's, they still get put in the bin-debug folder.

blog: http://renaun.com
twitter: @renaun
Highlighted
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: FB4 Final Build

Perfect.  40% filesize savings on a few of my apps!