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

Adobe AIR Development

Reply
Developer
Posts: 250
Registered: ‎03-14-2012
My Device: PlayBook 2.0
My Carrier: AT&T

BB10 invocation framework - Launch app from a link (URL schemes)

Hi,

 

is it possible to launch an BlackBerry 10 app from a link? (URL schemes)

 

Example:

myscheme://hello-world

 

In Android I can define a scheme like this:

<data android:scheme="myscheme"/>

 

Are there any examples for BB10?

Thanks

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: BB10 invocation framework - Launch app from a link (URL schemes)

Yes, something like:

<invoke-target id="com.mylong.unique.app.id.">
     <type>APPLICATION</type>
       <filter>
             <action>bb.action.OPEN</action>
             <mime-type>*</mime-type>
             <property var="uris" value="http://hello-world"/>
       </filter>
  </invoke-target>

 

Developer
Posts: 250
Registered: ‎03-14-2012
My Device: PlayBook 2.0
My Carrier: AT&T

Re: BB10 invocation framework - Launch app from a link (URL schemes)

It's not working. Smiley Sad

Where do I find a working example?

Highlighted
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: BB10 invocation framework - Launch app from a link (URL schemes)

Not working in that your app is not being opened?