1

I would like to know if it's possible to get data from an already existing android application that is written in java and be used in an application that i am writing in action script. Basically what i want to do is for exemple when a button is pressed in my AS3 app i want it to call another app that i have written but in java have it doing his thing and then close it and have it return to the AS3 app.

Has any one done this before? Any pointers and insides are very welcome.

Thank you!

4

1 回答 1

0

首先。应用程序在 Android 中有点像海市蜃楼。Android 操作系统正在运行,它会根据用户操作(如按下主页等)来决定打开或关闭哪个应用程序。

这里有一些建议。用于应用程序之间的通信。它们都可以绑定到远程服务。在安装其中一个应用程序后,可以安装远程服务或请求安装。使用远程服务允许两个应用程序之间的事件通信。当第二个应用程序完成处理时,它可以关闭其活动,因此它不具有优先权。或者,您将拥有应用程序的无视图模式。发出请求的主要活动将等待通过回调返回的事件。

所以是的,它可以做到。它只是一点工作。

于 2012-07-24T22:58:14.327 回答