iPhone 和 Android 通过同一服务器连接
我已经编写了两个应用程序,一个用于 iPhone,一个用于 Android,两者都很好,但到目前为止我还没有考虑过互操作性。理想情况下,我希望两个应用程序都能够访问服务器并相互通信。我不知道如何解决这个问题,也不知道是否有可能。如果您能给我指出一些资源的方向,这些资源可以向我解释如何做到这一点,我将不胜感激?
就目前情况而言,我有两个应用程序单独工作而无需连接到服务器,我希望能够将它们连接到同一服务器并进行通信。我该怎么做?
I have written two apps, one for iPhone and one for android, both are fine but thus far I have given no thoughts into inter-operability. Ideally I would like both apps to be able to access a server and communicate with each other. I have no idea how to go about this, or indeed if it is even possbile. I would appreciate if you could point me in the direction of some resources that ight explain to me how to do this ?
As it stands, I have both apps working separately without connecting to a server, I would like to be able to connect them both to the same server and have both communicate. How do I do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当然,只要您不使用任何特定于平台的通信,这是可能的。
将 JSON 与 RESTFULL Web 服务结合使用,就可以开始了。
Of couse this is posible, as long as you don't use any platform specific communications.
Use JSON with a RESTFULL webservice and you are good to go.