简体   繁体   中英

Android Lifecycle in Adobe Air

How are events like onPause, onResume etc for Android Activity taken care of in Adobe Air. I want to do something when activity is paused while developing AIR app how do I do it?

I read this article by Oliver Goldman , http://www.adobe.com/devnet/air/articles/considerations-air-apps-mobile.html . It says that we can use flash.events.Event.DEACTIVATE event of AIR to keep a tab on onPause. More info on - http://help.adobe.com/en_US/air/reference/html/flash/desktop/NativeApplication.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM