开发者

Android Native and AIR Application Communication

开发者 https://www.devze.com 2023-02-08 22:20 出处:网络
I am looking for a way to communicate between a Android application built using Adobe AIR and a native application. I know it is possible between two native applications using Intents or Remote method

I am looking for a way to communicate between a Android application built using Adobe AIR and a native application. I know it is possible between two native applications using Intents or Remote methods. But is it possible to send a message to a native service from an Adobe AIR built application that doesn't have access to the native API?

Thanks开发者_运维技巧


Not that I am aware of, since Air for Mobile is designed to be cross-platform. It doesn't have much in the way of OS specific capabilities, that I know of.

Have you considered using Socket communication?


You can use socket programming. I am using it. You create a server socket on the native app and create a socket on the Air app. and connect them on 127.0.0.1

0

精彩评论

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

关注公众号