02-05-2013 11:42 AM
Docs say that this method is deprecated, replaced by InvokeManager.queryTargets(), however, no such method is documented: should it refer instead to InvokeManager.queryInvokeTargets()?
If I do queryInvokeTargets (on the latest simulator: 10.1.0.338):
InvokeManager.invokeManager.queryInvokeTargets( '*/*', '', null, InvokeTargetOptions.ALL );
there is only 1 target
action: = bb.action.SETUP sys.bbm target [BBM] icon=[/apps/sys.bbm.testRel_sys_bbm____9851f58c/public/native/bbmtarget.png]
not much help in determining if a file type is supported...
02-14-2013 09:34 AM
It should be queryInvokeTargets().
You may not be able to get all of the supportedFileTypes, but you can determine if a specific file type is supported.
With the way that the supportedFileTypes method was created originally can really no longer be relied upon because of the ability for apps to add support for different file types.
02-17-2013 08:53 AM
Before deprecating a function, please make sure there is a viable alternative. We rely on supportedFileTypes. Changing to another API is fine, as long as there is one that performs the same function: get all supported file types.