If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
marcossit
Posts: 173
Registered: ‎07-19-2012
My Device: Z10 Limited Edition and Dev Alpha C
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:


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:


Please use plain text.
Developer
Developer
klz
Posts: 132
Registered: ‎08-24-2011
My Device: Z10 LE + Playbook
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!
----------------------------
My Apps: Alchemy Game | Image Resizer | Jam! | Traffic Signs: USA | Radio Record
My Blog: http://bb10pro.com
Please use plain text.
Developer
Developer
klz
Posts: 132
Registered: ‎08-24-2011
My Device: Z10 LE + Playbook
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!
----------------------------
My Apps: Alchemy Game | Image Resizer | Jam! | Traffic Signs: USA | Radio Record
My Blog: http://bb10pro.com
Please use plain text.
Developer
marcossit
Posts: 173
Registered: ‎07-19-2012
My Device: Z10 Limited Edition and Dev Alpha C
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.

 

 


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:


Please use plain text.
Developer
zezke
Posts: 1,004
Registered: ‎12-12-2010
My Device: Z10 (red Limited Edition)
My Carrier: Mobile Vikings

Re: invoke in QML Appworld

Come again?

-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Please use plain text.