Following the BlackBerry documentation on the Invocation Framework, I'm trying to invoke opening a contact, and SMS and E-mail composing. The contact opening works fine, but I cannot get the SMS and E-mail composition to work in the Simulator. The code is being executed, but nothing happens. Any ideas what can I be doing wrong?
Here's a piece of the code I'm using:
InvokeRequest request;
request.setAction("bb.action.COMPOSE");
request.setMimeType("message/rfc822");
request.setTarget("sys.pim.uib.email.hybridcomposer");
QByteArray ba(list.toUtf8());
request.setData(ba);
m_invokeManager->invoke(request);
Thanks for any hints!