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

Web and WebWorks Development

Reply
Developer
Developer
LBP
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none
Accepted Solution

BB10 - blackberry.invoke.invoke - set up an app to receive the passed data

Hi,

 

since there isn't any app on the BB10 Dev Alpha I wanted to create some test-app to do similar things. Is there any documentation on how toset up an app to receive and process the passed "data" object with following code from here:

 

// open another application that understands custom data
    blackberry.invoke.invoke({
        target: "another.app.that.handles.custom.json.data",
        type: "text/plain",
        data: "{'myData': 'A string I pass to another app'}"
    }, onInvokeSuccess, onInvokeError);

Regards.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Please use plain text.
Developer
miamon
Posts: 181
Registered: ‎08-17-2008
My Device: Red BlackBerry Z10
My Carrier: Vodafone

Re: BB10 - blackberry.invoke.invoke - set up an app to receive the passed data

[ Edited ]

Take a look to BB10 Github webworks samples: https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/invoke

Josep Maria
Please use plain text.
Developer
Developer
LBP
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: BB10 - blackberry.invoke.invoke - set up an app to receive the passed data

Hi,

 

thx a lot for linking me to this example. Thats really what I was looking for. Would be nice to have those ressources pinned in the API documentation as well.

 

Regards.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Please use plain text.