Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 179
Registered: ‎07-19-2012
My Device: Z10 Limited Edition and Dev Alpha C
My Carrier: Movistar-Venezuela

InvokeActionItem not work [CASCADES]

I have a question, when I use to use a Post InvokeActionItem on Twitter / Facebook, in the Operating System 10.1.0.xxx button works without problems, but the OS does not work 10.2.x.xxx button does not appear in the list .

As I work the invoke in the 10.2 SDK for the BlackBerry Operating System 10.2 I work.

 

Label {
id: facebook3
text: "Thanks........."
}

Label {
id: twitter3
text: "Used xxxxxx in twitter, follow @marcossit"
}
actions [

        InvokeActionItem {
            //ActionBar.placement: ActionBarPlacement.OnBar
            title: qsTr("Post")
            imageSource: "asset:///images/main/fb.png"
            query {
                mimeType: "text/plain"
                invokeTargetId: "Facebook"
                invokeActionId: "bb.action.SHARE"
            }
            onTriggered: {
                data = facebook3.text
            }
        },
        InvokeActionItem {
            // ActionBar.placement: ActionBarPlacement.InOverflow
            title: qsTr("Post")
            imageSource: "asset:///images/main/tw.png"
            query {
                mimeType: "text/plain"
                invokeTargetId: "Twitter"
                invokeActionId: "bb.action.SHARE"
            }
            onTriggered: {
                data = twitter3.text
            }
        }
]

 


Follow me in Twitter:

@Marcossit

BBM Channel:

MarcossitDev: C0002C366  

DeviceSuite For BlackBerry 10:

Link to Download DeviceSuite:

Support was successful? Accept as Solution and click on:


BlackBerry Development Advisor
Posts: 81
Registered: ‎09-09-2013
My Device: BlackBerry Z10
My Carrier: Etisalat UAE

Re: InvokeActionItem not work [CASCADES]

The issue reported in this thread, it is a known issue‎ with bound targets. A fix is in progress.

http://supportforums.blackberry.com/t5/Native-Development/InvokeActionItem-Not-visible-on-Z30/td-p/2...

Thanks
Kareem,
Kareem ELSayed | Application Development Consultant | Developer Relations | BlackBerry | Twitter:@kemobyte