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

Regular Contributor
Posts: 59
Registered: ‎01-08-2009
My Device: Playbook
My Carrier: n/a

Need sample on how to use the invocation framework in Flex/AIR

After I just solved the configuration/setup issue I had...




...I searched for a sample code/project showing how the invocation frameworks is actually being used.


I found this link, which contains a sample InvokedViewer class...




...but it doesn't exactly explain what to do with it. The only pointer is this...



InvokeViewer Class

In dealing with the viewer can take a little effort since it does not behave like a normal UIComponent.  You can encapsulate a Viewer instance inside a UIComponent to make things a little easier.  Here is a sample class that I use in dealing with a Viewer.  If you have ideas to improve this class, please drop me a line."


Has someone used this code and if so how?


Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Need sample on how to use the invocation framework in Flex/AIR

The InvokeViewer calss is for embedding a target app into your own app.  Majority of invocation targets may not support this mode (target has to define it).  Best to just invocate the targets normally (as a card - if supported or just to open).


Just setup your invocation in the simplest form.  Some will over constrain the invocation, and not get a suitable target.  If you're invocating a core app, they are somewhat well documented.