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
Trusted Contributor
Vibes
Posts: 214
Registered: ‎03-14-2012
My Device: PlayBook 2.0
My Carrier: AT&T

BB10 invocation framework - Open app from browser and passing a link to it

Hello,

I'm trying for weeks to get the invocation framework to work. I talked to a lot of people (directly at BlackBerry) and nobody could show me a working example!

So is there any working example available that shows how to open an app from the browser to share a link or text to it?

I know there are sample apps on GitHub but they are all not working. (At least not on the Dev Alpha)

The Air for BB10 documentation is not helpful as well. 

 

This is my last try before I will give up on my future app development for BlackBerry 10. :smileysad:
It's so frustrating! I built the same feature in less than 1 hour into my Android and iPhone app.

 

I hope someone can show me a working example that will bring my motivation for BB10 back.

Vibes

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: BB10 invocation framework - Open app from browser and passing a link to it

I dont think you can open an app from a browser. You might be able to register a file type that is selected from a browser. What exactly are you trying to do? Select text from a browser and may your app a target of the selected text?
Please use plain text.
Trusted Contributor
Vibes
Posts: 214
Registered: ‎03-14-2012
My Device: PlayBook 2.0
My Carrier: AT&T

Re: BB10 invocation framework - Open app from browser and passing a link to it

[ Edited ]
>>What exactly are you trying to do? Select text from a browser and may your app a target of the selected text?

Yes. How can I get this to work?

Any Air example that shows how the invocation framework is working is very welcome! :smileyhappy:

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: BB10 invocation framework - Open app from browser and passing a link to it

This would have to be provided by the browser. I am not aware that this could be done. You might want to add a feature request to JIRA.
Please use plain text.
Developer
shaan_softwaredvlpr
Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series
My Carrier: Airtel

Re: BB10 invocation framework - Open app from browser and passing a link to it

Have you tried using invocation framework ? 

 

By registring your app for invocation , you can share text selected from browser within your app.

 

 

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: BB10 invocation framework - Open app from browser and passing a link to it

I think you probably can. What I was not certain if selected text in the browser could be shared. It can. So yes, register yourself to be invoked to accept plain text.
Please use plain text.
Trusted Contributor
Vibes
Posts: 214
Registered: ‎03-14-2012
My Device: PlayBook 2.0
My Carrier: AT&T

Re: BB10 invocation framework - Open app from browser and passing a link to it

I tried it but it's not working - I'm using a DEV ALPHA.

 

Can someone provide a working example please?

That would help a lot. :smileyhappy:

Please use plain text.
Developer
shaan_softwaredvlpr
Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series
My Carrier: Airtel

Re: BB10 invocation framework - Open app from browser and passing a link to it

Please see this link to know about sharing from browser within your app

allow your application to invoke by browser for selected text

 

 

Please use plain text.