开发者

Can Flex AIR apps for Android run as processes?

Is it possible to have an AIR application built in Flex run as process or receive intents? For example if I wanted to make 开发者_StackOverflow中文版a calendar and each time there was an event at a certain time, have the AIR up which isn't running in the foreground, pop-up and inform the user that "it's time".

Can it be done with the current stable versions of both AIR and Flex SDK?

Thank you.

I wonder about this still to this day...


this can be done with AIR native extensions (ANE). AIR has no built in support for Android intents. If you havent heard about native extensions before, have look at this, its interesting: http://www.adobe.com/devnet/air/native-extensions-for-air.html

You will have to write java Android SDK code. That will pass desired events (intents) to actionscript bridge and your AIR app can handle them as you wish...

Have look here, it might help you with your task air native extension - possible to receive broadcast?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜