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.
02-06-2013 01:53 PM
I'm a bit confused and I'm pretty sure I have made a failure somewhere.
I'm using FlashDevelop 4.2.2 on Windows 8 and I'm able to deploy a SWF without problems. Except if it comes to qnx classes.
I wanted to use the ActionBar class. As the class is not importable, although I have set the latest AIR SDK as default SDK, I copied the whole qnx folder into my projects library folder and added the following files to my library.
In the swf file I'm import the ActionBar class and make an instance. Then I add it to the stage. This seems to work so far. The export of the swf runs through without any error. The swf file opens up without an error. It is just plain white. There have been other items at the stage and I'm sure they aren't displayed because the debug player detects an exception before any other errors.
I haven't changed neither the application.xml nor the bar-descriptor.xml? Should I? If yes in which way?
Solved! Go to Solution.
02-07-2013 01:06 PM
I'm assuming you're deploying to a device or simulator, yes?
In order to work, your *-app.xml file has to contain something like this (changing the ane's properly):
<extensions> <extensionID>qnx.system.QNXDevice</extensionID> <extensionID>qnx.fuse.ui.skins.QNXSkins</extension
Also, when creating the BAR file, you have to include the ANE's as well. To do so from command line, you have to use the -ane <ane_file> parameter when calling the blackberry-airpackager utility.
I hope it helps.
02-08-2013 08:44 AM
thank you for the reply. I really missed the extension part in the xml files.
this may sound a bit stupid but I assumed that the classes were just premanufactured movieclips or sprites. so I tested the swf in the local debug flashplayer.
I thought it wouldn't work so I did not tested it on the dev alpha... sorry....