0
공유 호출을 사용하는 이상한 버그가 있습니다.공유 Invoke가 때때로 비어 있습니다.
약 3 분의 1의 공유 시도는 텍스트가 공유되지 않게합니다. 일반적으로 첫 번째 공유는 작동하지만 추가 시도는 작동하지 않습니다. 무작위로 다시 작업을 시작합니다. 이것은 bbm, facebook 및 twitter 앱에서 발생합니다.
다음 코드는 listview listitem의 일부입니다.
InvokeActionItem {
id: invokeActionItem
title: "Share"
ActionBar.placement: ActionBarPlacement.OnBar
imageSource: "asset:///Images/Icons/share_icon.png"
query {
mimeType: "text/plain"
invokeActionId: "bb.action.SHARE"
}
onTriggered: {
query.data = "I just read this and had to share it: " + ListItemData.title + ". ";
query.data += "Read it here " + ListItemData.shareUrl;
query.updateQuery();
}
}
아무도 아이디어를 얻었거나 해결 방법을 알고 있습니까?
고맙습니다. C++을 사용하도록 모든 공유 기능을 변경했습니다. – hyarion