网站和Android应用之间的通信 [英] Communication between website and android app

查看:125
本文介绍了网站和Android应用之间的通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立一个网站,那里的数据将被保存在数据库中,在SQL数据库的逻辑。另外,我想建立一个Android应用程序,它会从上述(SQL)数据库中的数据。我怎样才能实现呢?我的意思是我该如何管理网站和Android应用程序之间的通信。在过去,我已创建的网站使用PHP和SQL,也有我打造的Andr​​oid应用程序,但现在我要实现它们之间的通信。我可以用解析平台?

I want to build a website, where the data will be saved in a data base, logical in a sql database. Also, I want to build an android app, which will take the data from the above (sql) data base. How can I achieve it? I mean how can I manage the communication between the website and the android app. In past, I have create website with php and sql and also I have build android apps, but now I want to achieve the communication between them. Can I use parse platform?

推荐答案

仅供参考,没有任何服务器通讯,你不能在Android应用程序使用本网站的数据库。

FYI, without any server communication you can't use the website database in android application.

如果您要管理的网站和Android应用程序之间的通信意味着你需要有哪些你的web /移动应用的数据中心服务器。所以,在这之后,通过使用web服务方法(REST / SOAP)可以实现它们之间的通信。

If you want to manage the communication between the website and the android app means you need a centralized server which having the data of your web/mobile applications. So, after that by using the web service methods (REST/SOAP) you can achieve the communication between them.

这篇关于网站和Android应用之间的通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆