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...