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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Developer
jtegen
Posts: 6,149
Registered: ‎10-27-2010
My Carrier: AT&T

Invocation Observations

New thread to gather observations and questions about the invocation framework.

 

When I launch the application by myself, I get a startupMode of 0 (launch).

 

When I invoke the app from another app, I get the same startupMode.  I would think I would get "invoke".

 

My invocation is:

var request :InvokeRequest = new InvokeRequest();
request.action = InvokeAction.OPEN;
request.target = 'com.o2interactive.magellan.compass';
			
InvokeManager.invokeManager.invoke( request );

 

Please use plain text.
Developer
jtegen
Posts: 6,149
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Invocation Observations

When defining "non standard" file extensions for an app based on a file that is generated by the app that it wants to be opened when selected from the file browser, is it best to use this kind of syntax?

 

<mime-type>application/x-myext</mime-type>

 Where "myext" is the actual extension of the file.

Please use plain text.
Developer
jtegen
Posts: 6,149
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Invocation Observations

For unbounded requests, how will competing targets be choosen?

 

For example, if RIM has an app A, and vendor has app B and both use the same schema for a request, how does the consumer choose app B over app A (from RIM)?

Please use plain text.
Developer
jtegen
Posts: 6,149
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Invocation Observations

It appears the AIR InvoctionManager is incomplete.

It does not seem to have the queryTargets API like the Cascase API has.

 

https://developer.blackberry.com/cascades/documentation/device_platform/invocation/sending_invocatio...

 

Hope this will be in the next build.

Please use plain text.
New Developer
cmax
Posts: 21
Registered: ‎04-19-2011
My Carrier: Rogers

Re: Invocation Observations

queryTargets was included in earlier versions of the Air SDK but was removed for some reason in Beta 3.  It was mentioned in the following thread that it will return in the next release.

 

http://supportforums.blackberry.com/t5/Adobe-AIR-Development/Using-the-InvokeManager-to-query-target...

 

 

 

Please use plain text.