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
Highlighted
Developer
Posts: 120
Registered: ‎02-06-2013
My Device: DAB, DAC, Lost red Z10, Regular Replaced Z10, PlayBook
My Carrier: airtel
Accepted Solution

opening bb world

hi, i was wondering how to open a BlackBerry world page from qml using action item.



Looking for SMTP Servers, Bulk Emails and Bulk SMS services at an affordable price to help boost your business? Look no further. I've the solution for your needs. Contact me now.
Developer
Posts: 660
Registered: ‎10-08-2009
My Device: Bold 9900
My Carrier: Telus

Re: opening bb world

[ Edited ]

To invoke vendor (you or any other vendor)

 

ActionItem {
                title: "qbo"
                imageSource: "asset:///images/menuQbo.png"
                onTriggered: {
                    invokeVendor.trigger("bb.action.OPEN")
                }
                attachedObjects: [
                    Invocation {
                        id: invokeVendor
                        query {
                            mimeType: "application/x-bb-appworld"
                            uri: "appworld://vendor/4450"
                        }
                    }
                ]
            }

 

To invoke specific app:

 

ActionItem {
                title: "Corky Notes"
                imageSource: "asset:///images/menuCorkyNotes.png"
                onTriggered: {
                    invokeApp.trigger("bb.action.OPEN")
                }
                attachedObjects: [
                    Invocation {
                        id: invokeApp
                        query {
                            mimeType: "application/x-bb-appworld"
                            uri: "appworld://content/28711888"
                        }
                    }
                ]
            }

 

Basically, use specific uri for vendor and app

----------------------------------------------------------
Twitter: @gyubok