如何在 Adobe Air 中处理 Android Activity 的 onPause、onResume 等事件。在开发 AIR 应用程序时,我想在 Activity 暂停时执行某些操作,我该怎么做?
最佳答案
我通过 Oliver Goldman 阅读了这篇文章, http://www.adobe.com/devnet/air/articles/considerations-air-apps-mobile.html .它说我们可以使用 AIR 的 flash.events.Event.DEACTIVATE 事件来保持 onPause 的标签。更多信息 - http://help.adobe.com/en_US/air/reference/html/flash/desktop/NativeApplication.html
关于Adobe Air 中的 Android 生命周期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11238943/