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.
01-01-2013 12:03 PM
I am trying to use some invokation methods in my app. However it always fails on the line
with the message of
Definition qnx.invoke:InvokeManager could not be found
I am not sure where else this class could be hidden. I am using the Gold BB10 SDK
Solved! Go to Solution.
01-01-2013 01:09 PM - edited 01-01-2013 09:49 PM
The issue may be related to the linking of QNXDevice.ane but that all looks as if it is set up properly. I am listing <extensionID>qnx.system.QNXDevice</extensionID> in my .xml file and have included QNXDevice.ane in the packaging...
The .ane is attaching properly. This is actually failing on the step before where amxmlc is not properly creating the .swf so I am thinking that I need to link against a related .swc but am not sure which one...
01-01-2013 04:58 PM
I looked through all the gold SDK swc's with the package explorer in my IDE and didn't find the qnx.invoke package.
The tutorial does't mention what swc this package supposedly lives in.
01-01-2013 08:01 PM
01-01-2013 09:07 PM
I am doing this from the command line.
Thing is that QNXSkins.ane is working fine. I am going to try and see if I can get this to work in a more bare bones program...
01-01-2013 09:12 PM - edited 01-01-2013 09:20 PM
Yep, that's where it is (QNXDevice.ane). I was confused by 1) The fact that I haven't read up on how ANE's really work and are packaged, and 2) the fact that the fuse.ui components except for the skins, live in qnxui.swc.
I'm using FlashDevelop, not Flash Builder, but once I added the device ANE to the library it compiles fine.
BTW I just use FlashDevelop compile for flushing gross errors of syntax & linkage; for sim & device targeted
builds I use the commandline. For anyone reading this who uses the commandline as well, and who hits
this problem, you'll (apparenly) need to add the full path to the device ANE to your library path options, i.e.
to my amxmlc commandline, and all was forgiven. (This is in a Windows batch file, hence the
backslashes, and %BBSDKPATH% contains the path to my SDK install).
Edit: Note that per the compiler docs, "You can specify a directory or individual SWC files." For the
SWC's I link to, I just supply the directory path. I tried to do that for the device ANE and it wouldn't take;
I had to put QNXDevice.ane on the tail of the path to get it to compile.
01-01-2013 10:20 PM
That fixed it. Odd that it works differently from QNXSkins.ane
Also seems to work with a relative path...