如何调用从Android应用程序的远程方法 [英] How to call a remote method from android application
本文介绍了如何调用从Android应用程序的远程方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从一个Android应用程序中调用一个远程可用Java方法,在这里,我可以使用RMI为Android应用程序呢?任何人都可以请帮我在这。
I want to call a remotely available java method from an Android application,Here can I use rmi for android application as well? Can anyone please help me on this.
推荐答案
我会先看看的这个问题。
根据您的要求,您可能想看看href=\"http://developer.android.com/guide/topics/intents/intents-filters.html\" rel=\"nofollow\">意图的设备上应用程序之间的IPC系统。一个简单的 REST的解决方案可能是一个更好的解决办法,如果你正在寻找与不同设备上的应用程序之间的通信。
Depending on your requirements, you might want to look at the Intent system for IPC between apps on a device. A simple REST solution might be a better solution if you are looking to communicate with between apps on different devices.
这篇关于如何调用从Android应用程序的远程方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文