简体   繁体   English

Adobe Air Mobile(iOS,Android)和来电

[英]Adobe Air Mobile (iOS, Android) and Incoming Phone Calls

I'm looking into handling Audio interruptions (incoming phone calls, calendar or clock events) in my Air application. 我正在研究如何在Air应用程序中处理音频中断(来电,日历或时钟事件)。 The target OS are iOS and Android. 目标操作系统是iOS和Android。

I already have a working implementation for pausing and resuming my application when such event occurs, derived from Apple's guidelines for handling such interruptions ( link ) 我已经有了一个有效的实现方式,用于在发生此类事件时暂停和恢复我的应用程序,该实现源自Apple处理此类中断的准则( 链接

Does anyone knows which events I can leverage in the AIR platform? 有谁知道我可以在AIR平台中利用哪些事件?

Thanks. 谢谢。

I believe the listeners for 我相信听众

addEventListener(Event.ACTIVATE, activateListener);
addEventListener(Event.DEACTIVATE, deactivateListener);

might be the ones to use. 可能是要使用的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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