01-17-2013 03:02 PM
Hi,
I noticed now that I have an issue with InvokeQuery. Maybe this happened after the last FW update, can't tell for sure.
After NFC connection it give me an error: "Could not share data over NFC, please tap again".
Here what I do:
// this gives "Could not share data over NFC, please tap again" after connection
bb::cascades::InvokeQuery* q( bb::cascades::InvokeQuery::create().
parent(this).
mimeType("text/txt").
data(QString("http://google.com").toUtf8()).
invokeActionId("bb.action.SHARE")
);
m_pInvocation = Invocation::create( q );
QObject::connect(m_pInvocation, SIGNAL(armed()), this, SLOT(onInvokeUrlShareArmed()));
QObject::connect(m_pInvocation, SIGNAL(finished()), this, SLOT(onInvokeUrlShareDelete()));
// also with this doesn't work
bb::cascades::InvokeQuery* q( bb::cascades::InvokeQuery::create().
parent(this).
uri(QUrl("http://google.com")).
invokeActionId("bb.action.SHARE")
);
I am sure that some times ago the second query was working and my other phone, after get the data, was opening correctly its own browser.
Did I made some mistakes ?
Any help is greatly appreciated
thanks