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
Super Contributor
Meghasanghvi
Posts: 306
Registered: ‎08-10-2010
My Device: Not Specified
Accepted Solution

Bound Invocation

Hi,

 

I want to implement bound invocation in my application. Is there any sample avaible ?or how to fecth invocationTargetId for facebook, twitter and BBM?

 

 

 

 

Please use plain text.
Developer
ekke
Posts: 1,428
Registered: ‎04-08-2010
My Device: Z10 (red Limited Edition), Q10, Z30
My Carrier: Telekom.de, O2, Vodafone

Re: Bound Invocation

you should take a look at the Cascades Samples and Community Samples to see examples of Invocations.

Problem is to know all the Target Ids - perhaps we can collect them at BlackBerry Wiki on Github ? (just tweeted this idea to @pelegri)


Here's an example from my OpenDataSpace OSS project HowTo Invoke the MediaPlayer:

void OpenDataSpace::invokeBoundMediaPlayer(QString uri) {
	InvokeRequest cardRequest;
	cardRequest.setUri(uri);
	cardRequest.setTarget("sys.mediaplayer.previewer");
	m_invokeManager->invoke(cardRequest);
}
-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.
Super Contributor
Meghasanghvi
Posts: 306
Registered: ‎08-10-2010
My Device: Not Specified

Re: Bound Invocation

Hi

 

I want to know how to make multiple bound query. Example like in my application i want to make bound invocation for BBM, Facebook , twitter.

 

I checked the cascade community samples and cascade samples on gitub but did not find any sample for that.

 

Please use plain text.
Developer
ekke
Posts: 1,428
Registered: ‎04-08-2010
My Device: Z10 (red Limited Edition), Q10, Z30
My Carrier: Telekom.de, O2, Vodafone

Re: Bound Invocation


Meghasanghvi wrote:

Hi

 

I want to know how to make multiple bound query. Example like in my application i want to make bound invocation for BBM, Facebook , twitter.

 

I checked the cascade community samples and cascade samples on gitub but did not find any sample for that.

 


to make other bound invocations we need the target ids and informations about supported mime-types, URI, data-content...

 

the Invocation Framework - team is working on this documentation

 

you're not the only one waiting on this ;-)

 

I also requested a community-wiki-page where 3rd party devs can publish their target ids and informations

 

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.