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
SumiGhosh
Posts: 435
Registered: ‎09-20-2011
My Device: Z10 LE, Playbook, DevAlpha C, 9900, 9380

How to open an app programmatically from an app?

How to open an app programmatically from an app using cascades. Can anyone point me the classess that is used to launch the app.

Please use plain text.
Developer
javayoung
Posts: 313
Registered: ‎05-31-2010
My Device: Alpha 10, Bold 9900, Storm 9530, Tour 9630, Curve 9320, Curve 8900

Re: How to open an app programmatically from an app?

You can refer with the sample applications : invoketarget and invokeclient. invokeclient will invoke invoketarget.

 

The brief idea is set up "invoke-target" in the bar-descriptor.xml in target app, in the client app to invoke this target by InvokeManager.




p(^_^)q
Good good study, day day up
Please use plain text.
Developer
SumiGhosh
Posts: 435
Registered: ‎09-20-2011
My Device: Z10 LE, Playbook, DevAlpha C, 9900, 9380

Re: How to open an app programmatically from an app?

How to get third party applications target id
Please use plain text.
Developer
BBSJdev
Posts: 6,116
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

Re: How to open an app programmatically from an app?

[ Edited ]

The InvokeManager will pass this back to you.

 

Read this

 

http://developer.blackberry.com/cascades/documentation/device_platform/invocation/invocation_framewo...

 

Then pease download the invoketarget example and it should all become very clear.


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.