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
cascadedev
Posts: 39
Registered: ‎03-09-2014
My Device: Simulator
My Carrier: NA
Accepted Solution

Unknown Scheme BlackBerry APP World Invocation

I want to make a button to open BBM App World to check for update, but i got a warning "unknown scheme:appworld". Here is my code :

 

Button {
                    id: update
                    text: "Check For Update"                       
                    attachedObjects: [
                        Invocation {
                            id: invoke
                            query {
                                mimeType: "application/x-bb-appworld"
                                uri: "appworld://myworld"
                            }
                        }
                    ]
                    onClicked: {
                        invoke.trigger("bb.action.OPEN")
                    }
                
                }

 How to solve this problem? Any help would be appreciated. Thank you.

Please use plain text.
Developer
cascadedev
Posts: 39
Registered: ‎03-09-2014
My Device: Simulator
My Carrier: NA

Re: Unknown Scheme BlackBerry APP World Invocation

[ Edited ]

Problem solved. I've decided to invoke BB Browser to display BB World than directly invoke BB World APP

Please use plain text.
Developer
marcossit
Posts: 175
Registered: ‎07-19-2012
My Device: Z10 Limited Edition and Dev Alpha C
My Carrier: Movistar-Venezuela

Re: Unknown Scheme BlackBerry APP World Invocation

[ Edited ]

 

This my code....

 

 action: [

InvokeActionItem { title: qsTr("Update") imageSource: "asset:///images/main/036. Star.png" ActionBar.placement: ActionBarPlacement.OnBar query.uri: "appworld://content/27273429" query.invokeActionId: "bb.action.OPEN" query.invokeTargetId: "sys.appworld" }
]
//27273429 is ID your App create in Vendor Portal

 


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.