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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 20
Registered: ‎11-10-2010
My Device: Not Specified

Flash Builder 4.5 - New Mobile Project

The documentation describes using FB 4.5 to create a "New ActionScript Mobile" project, but it seems like you also can create a "Flex Mobile Project", that will allow you to take advantage of the new Flash Builder components and target your app for BlackBerry OS.

 

This works fine, but under "Flex Mobile Project", I do not have access to any of the "qnx" packages / API's.

 

Did I miss something under the install?

 

Lou

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

Re: Flash Builder 4.5 - New Mobile Project

Did you select the 0.9.1 BB SDK for your SDK?

New Developer
Posts: 20
Registered: ‎11-10-2010
My Device: Not Specified

Re: Flash Builder 4.5 - New Mobile Project

yes, I selected the 0.9.1 SDK, but I get a message that says "BlackBerry Tablet OS SDK 0.9.1 for Adobe AIR does not support mobile projects"

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

Re: Flash Builder 4.5 - New Mobile Project

BB apps are "standard" AIR apps, so you just need to create a standard AIR desktop project.

New Developer
Posts: 20
Registered: ‎11-10-2010
My Device: Not Specified

Re: Flash Builder 4.5 - New Mobile Project

Yeah, I know it works that way.

 

But if you just choose a standard Adobe Air Project, you do not have access to the new FB mobile components.

 

Take a look at this screen shot 

http://devblog.blackberry.com/2010/12/blackberry-tablet-os-sdk-adobe-air/

 

At the top you have the option to choose your Target Mobile Device, landscape, etc

 

But using this option (Mobile Project)

 

  1. You have access to the FB components
  2. You do not have access to the "qnx" libraries.
And using this option (ActionScript Project)
  1. You do not have access to the FB componets
  2. You do have access to the "qnx" libraries

 

Developer
Posts: 58
Registered: ‎02-13-2009
My Device: Not Specified

Re: Flash Builder 4.5 - New Mobile Project

Well you do have access to the qnx libraries, its just that it is not enabled to include the libraries in the build path. Seems to be like a bug or something when creating the Flex mobile project targetting the Tablet OS. However these libraries are automatically included when you select the ActionScript Mobile project. I have a open a bug in the issue tracker. Will wait for their response.

 

Here is a screenshot that you need to modify after you create the Flex Mobile Project

 

flex_mobile_issue.png

New Developer
Posts: 20
Registered: ‎11-10-2010
My Device: Not Specified

Re: Flash Builder 4.5 - New Mobile Project

Sounds good. I will try it.  I'm glad I wasn't the only one seeing this issue.

Developer
Posts: 110
Registered: ‎10-31-2010
My Device: Blackberry Torch 9800
My Carrier: Bell Mobility

Re: Flash Builder 4.5 - New Mobile Project

It appears that unlike under 4.01, you don't have to select the BB SDK explicitly... you can select HERO and it somehow finds the QNX libs just fine.   Also looks like we can develop for both PlayBook and Android using same code... SWEET! 

Best regards,

Brent

If you found my post helpful, please thank me with a Kudo. Thanks!
New Developer
Posts: 20
Registered: ‎11-10-2010
My Device: Not Specified

Re: Flash Builder 4.5 - New Mobile Project

That seemed to make a little bit of difference, but I'm getting warnings.

 

It's def. a bug.

 

After selecting the option, the view (design view) changes.  I'll might just stick to the ActionScript development portion, until they fix the bugs.

 

How can I see the bug in the issue tracker that you submitted?

 

 

Description Resource Path Location Type
Design mode could not load qnx-air.swc. It may be incompatible with this SDK, or invalid. (DesignAssetLoader.CompleteTimeout) HelloWorld.mxml /HelloWorld/src Unknown Problem

Description Resource Path Location TypeDesign mode could not load qnx-air.swc. It may be incompatible with this SDK, or invalid. (DesignAssetLoader.CompleteTimeout) HelloWorld.mxml /HelloWorld/src Unknown Problem

 

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

Re: Flash Builder 4.5 - New Mobile Project

On the design mode warnings just do a clean build (Project -> Clean...) and it should get rid of the errors.

 

blog: http://renaun.com
twitter: @renaun