我需要一个脚本(php)在服务器同步json数据从服务器到android应用程序


Do I need a script (php) in the server for syncing json data from the server to android app?

我希望我的android应用程序与服务器通信(在我的情况下,Godaddy共享服务器)和同步数据在我的android应用程序。我想发送和接收JSON数据,从服务器。

我需要另一个PHP脚本在服务器上,这发生吗?这个脚本是否需要在服务器上接收我的请求并以JSON格式给出响应?

是的,如果您想与服务器通信,您必须编写一个后端程序来处理您的请求与JSP, PHP或c#等