Highlighted

How does the invoke event for an Air iOS app work?

Explorer ,
Feb 18, 2015

Copy link to clipboard

Copied

Hi,

If my app gets invoked for the first time the invoke event isn't fired.

If the app gets invoked for the second time it is working.

How to get the event.arguments[0] every time the app gets opened/invoked?

NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onAppInvoke);

function onAppInvoke(event:InvokeEvent):void {

trace("INVOKE ARGS: "+event.arguments[0]);

}

Thanks

TOPICS
Development

Views

338

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How does the invoke event for an Air iOS app work?

Explorer ,
Feb 18, 2015

Copy link to clipboard

Copied

Hi,

If my app gets invoked for the first time the invoke event isn't fired.

If the app gets invoked for the second time it is working.

How to get the event.arguments[0] every time the app gets opened/invoked?

NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onAppInvoke);

function onAppInvoke(event:InvokeEvent):void {

trace("INVOKE ARGS: "+event.arguments[0]);

}

Thanks

TOPICS
Development

Views

339

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 18, 2015 0

Have something to add?

Join the conversation