AIR本机扩展 - 可以接收广播? [英] air native extension - possible to receive broadcast?

查看:247
本文介绍了AIR本机扩展 - 可以接收广播?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发的AIR平台上的Adobe Flex应用程序。使用本机扩展Android的,这可以从我的Flex应用程序发送短信。

I am developing application with Adobe Flex on AIR platform. Using native extension for Android, it is possible to send SMS from my Flex application.

难道也有可能收到的短信与我的应用程序(收到来电短信广播承载信息)?

Would it also be possible to receive SMS with my application (receive Broadcast carrying information about incoming SMS)?

更一般地,是有可能收取Android广播在我的Flex应用程序?

More generally, is it possible to receive Android Broadcasts in my Flex application?

推荐答案

我发现这是可能的。

本机实现可以调度的事件的动作
  扩展code可以监听。这种机制允许本地
  实现异步执行任务,通知
  ActionScript端,当任务完成

"The native implementation can dispatch events that the ActionScript extension code can listen for. This mechanism allows the native implementation to perform tasks asynchronously, notifying the ActionScript side when the task is complete"

这是如何做到这一点的细节这里介绍:

Details on how to do it are covered here:

http://help.adobe.com/en_US/air/extensions/ air_extensions.pdf

这篇关于AIR本机扩展 - 可以接收广播?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆