02-24-2013 08:50 PM
I have this code and I thought it should show me all available apps that could share the file but all it does is show me my "BBM Groups" and I don't understand why.
InvokeManager invokeManager;
InvokeRequest request;
request.setAction("bb.action.SHARE");
request.setUri("file:///accounts/1000/shared/camer a/IMG_00000003.png");
invokeManager.invoke(request);
Not sure what I am missing. Thx.
Solved! Go to Solution.
02-24-2013 10:59 PM
Hi JaredCo,
Please check below link.
http://developer.blackberry.com/cascades/documenta
--------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
02-25-2013 03:19 AM
Hi Steven,
i had the same issue last week.
You are doing an invocation that says "i want the best app to handle this", so the system decides what to do.
Instead of using the invoke manager you should create an invokequery.
Here is the code i use to share a file:
invocation = Invocation::create(InvokeQuery::create().parent(this).uri("file:///" + invokeActionId = "bb.action.SHARE"; connect(invocation, SIGNAL(armed()), this, SLOT(onArmed())); connect(invocation, SIGNAL(finished()), invocation, SLOT(deleteLater()));
in onArmed i call
invocation->trigger(invokeActionId);
02-25-2013 06:40 AM