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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Regular Contributor
marcossit
Posts: 84
Registered: ‎07-19-2012
My Carrier: Movistar-Venezuela
Accepted Solution

invoke in QML Appworld

Hello brothers goodnight, how could invoke in QML Appworld to use an icon in my application with that. :Oops:

Download my App for BB10 http://appworld.blackberry.com/webstore/content/134103/
Please use plain text.
Developer
Developer
klz
Posts: 127
Registered: ‎08-24-2011
My Carrier: MTS Ukraine

Re: invoke in QML Appworld

Hello,

 

Take a look at this article https://developer.blackberry.com/cascades/documentation/device_platform/invocation/sending_invocatio...

 

Use invocation manager for that. Here is some data you will need

InvokeAction ID: bb.action.OPEN

MIME Type: application/x-bb-appworld

URI: appworld://content/xxxxxx  where xxxxxx is content ID

 

 

Hope it will help you.

Thank you!
----------------------------
BlackBerry 10 Developer is looking for a job!
My Apps: Alchemy Game | Jam! | Traffic Signs: USA
My Blog: http://bb10pro.com
Please use plain text.
Developer
Developer
klz
Posts: 127
Registered: ‎08-24-2011
My Carrier: MTS Ukraine

Re: invoke in QML Appworld

Here is a code for you

 

Page {
            id: tab2
            Button {
                id: awbutton
                text: "Click me"                       
                attachedObjects: [
                          Invocation {
                                id: invoke
                                query: InvokeQuery {
                                mimeType: "application/x-bb-appworld"
                                uri: "appworld://content/124432"
                                }
                        }
  ]
 
            onClicked: {
            invoke.trigger("bb.action.OPEN")
              }
                    
        }
}

 

Thank you!
----------------------------
BlackBerry 10 Developer is looking for a job!
My Apps: Alchemy Game | Jam! | Traffic Signs: USA
My Blog: http://bb10pro.com
Please use plain text.
Regular Contributor
marcossit
Posts: 84
Registered: ‎07-19-2012
My Carrier: Movistar-Venezuela

Re: invoke in QML Appworld

in uri as invoke my vendor to release the list of applications? because if I get put marcossit an app but it does not support the Dev Alpha, and if the vendor put the link http I get to run in the browser and opens well and the other option from appworld but wifi error and exits no charge.

 

 

Download my App for BB10 http://appworld.blackberry.com/webstore/content/134103/
Please use plain text.