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
Posts: 70
Registered: ‎04-20-2012
My Device: BB 9105
My Carrier: Vodafone
Accepted Solution

Launching application from another app in BB10

Hi,

 

Is it possible to launch a BB 10 application from another application? If yes, please let me know how.

 

Thanks

Brsengar

Developer
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: Launching application from another app in BB10

Yes, check out the invocation framework https://developer.blackberry.com/cascades/documentation/device_platform/invocation/index.html
Like all of my posts
Highlighted
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Launching application from another app in BB10

It's possible. You would want to use what's called "bound invocation". Read https://developer.blackberry.com/cascades/documentation/device_platform/invocation/invocation_framew... and the page under "sending invocations" (and everything else there...).


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 70
Registered: ‎04-20-2012
My Device: BB 9105
My Carrier: Vodafone

Re: Launching application from another app in BB10

Thanks Both of you

Developer
Posts: 70
Registered: ‎04-20-2012
My Device: BB 9105
My Carrier: Vodafone

Re: Launching application from another app in BB10

Hi,

 

I looked into the documentation regarding Invocation Framework to launch an app from another app and downloaded invokeclient and invoketarget sample application, however I am getting problems.

invokeclient is suppose to launch invoketarget application provided the information passed in invokeclient is correct. I am setting following parameter but getting problems:

Invocation Type: Application (Tried with All as well)

Action: bb.action.OPEN

MIME: text/plain

URI: <blank>

Data&colon; <blank>

Target: com.example.bb10samples.invocation.invoketarget

 

I am getting error as InvokeReplyError::NoTarget:

 

Am I missing something?

 

Any help would be really useful. 

 

Thanks

Brsengar