Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

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

$
0
0

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


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>