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.
06-28-2012 03:09 PM
I've always been a user of the command line tools for compiling... I use mxmlc.
Today I tried using a TextArea for the first time. (qnx.fuse.ui.text.TextArea)
It actually compiles ok, but when I run it, I get flash error #1014, which I believe means that the class is missing.
This would seem to imply that I need to alter my mxml comilation command to use qnx.fuse stuff, but I haven't read anything that tells people how to do this.
I wondered whether the documentation that tells people how to get up and running with the command line tools had been updated to cover these topics:
It would appear not. There isn't anything mentioned at all about how to use mxmlc, and the link that points to the "Flex SDK" is a web of misery in which I can't find anything.
This is a rather sad state of affairs... it seems like someone has dropped the ball here in terms of providing adequate documentation.
06-28-2012 03:24 PM
No. Is that also required for PlayBook AIR development?
06-29-2012 08:04 AM
06-29-2012 08:14 AM
This is where I'm going to sound silly: Back in the day I wasn't successful in figuring out how to run AIR apps in debug. I tried the instructions i found but they didn't work, so I've never learned how to do that properly. Are there instructions lying around for how to do that?
06-29-2012 08:18 AM
06-29-2012 09:00 AM
I do all sim and device targeted builds w/cmdline tools and am able to connect to flash debugger (fdb) for debug sessions. Hopefully I can post details later but for now:
1) Check the Adobe documentation for detailed mxmlc help; it's an Adobe tool.
2) Run mxmlc -help compiler.library-path to see help on this cmdline option
3) Probably the mxmlc option you want is -compiler.library-path and set it to the path of the swc that contains the fuse components. I think it's <path to SDK>\frameworks\libs\qnx\qnxui.swc but I'd have to pull it up in a swc inspector to confirm.
4) See the knowledgebase article on connecting to fbd, with the caveats that it's old, and the correct cmdline compile invocations to get a debuggable bar might have changed: http://supportforums.blackberry.com/t5/Adobe-AIR-D
The blackberry-airpackager cmdline tool was known to be picky and to have changed at least once before
getting out of beta and the knowledgebase article is beta era.
06-29-2012 09:13 AM - edited 06-29-2012 09:16 AM
07-03-2012 10:35 PM
I gave the debugger instructions a try, both the RIM instructions and the instructions on Adobe's site, and neither worked.
When I compile my app with either:
... and then run it in the simulator, it never creates a connection to the fdb debugger session I have running. It just says:
Waiting for Player to connect
Another piece of information that I should have mentioned previously is that if I do compile my app with:
mxmlc +configname=air -library-path+=. Keyboard.as -o Keyboard.swf -swf-version=10 -compiler.include-libraries -compiler.include-libraries "E:\Program Files\Research In Motion\blackberry-tablet-sdk-2.0.0\frameworks\libs
... then the behavior changes: The BlackBerry splash screen appears as if the apps is about to start, but it freezes there. The app never starts.
07-04-2012 01:01 AM - edited 07-04-2012 01:04 AM
The fdb session needs for the debuggable application to know the IP of the debug host. This can be provided
either on a blackberry-airpackager command line or if you launch the app via the device or simulator
UI, a debug mode app should prompt you to enter the debug host IP. Until fdb gets the connection
request from the debuggable app it will just sit there displaying that "Waiting for Player to connect".
This might be easier to chase down interactively in an IRC session. I'm on freenode.net some evenings (IRC nick
is "UberschallSamsar" and I'm usually in #BlackBerryDev when I'm on).