C++ 无法在Blackberry Z10上调用SMS
我试图通过按钮点击操作上的QML从blackberry调用SMS,但显示错误。这是我的密码C++ 无法在Blackberry Z10上调用SMS,c++,blackberry,sms,qml,invocation,C++,Blackberry,Sms,Qml,Invocation,我试图通过按钮点击操作上的QML从blackberry调用SMS,但显示错误。这是我的密码 Button { id:smsTrigger onClicked: { smsSendInvocation.query.updateQuery(); smsSendInvocation.trigger(smsSendInvocation.query.invokeActio
Button {
id:smsTrigger
onClicked: {
smsSendInvocation.query.updateQuery();
smsSendInvocation.trigger(smsSendInvocation.query.invokeActionId);
}
}
attachedObjects: [
Invocation {
id: smsSendInvocation
query.mimeType: "application/text_messaging"
query.invokeTargetId: "sys.pim.text_messaging.smsuri"
query.invokeActionId: "bb.action.COMPOSE"
query.data: "body::Hello world!
to:json:[\"2125551212\",\"9785551234\"]"
}]
这就是它显示的错误
InvocationWrapper::onQueryFinished: no matching result from Menu Service for query
mimeType="application/text_messaging"
uri=QUrl("")
data= "body::Hello world!
to:json:["2125551212","9785551234"]"
metadata= QMap()
perimeter= 0
action= "bb.action.COMPOSE"
target= "sys.pim.text_messaging.smsuri"
invokerIncluded= false
InvocationPrivate::onQueryResolved: no result matching query, no armed signal sent
感谢您的帮助。谢谢