I have an Android app, that needs to communicate with a webserver. However, I have no idea of how to do this. I do have a webserver., though I do not know how to use it(store/retrieve data). plz help me . any tips, advices will work for me. It is important. Thanks in advance.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
See This is only for reference .in that i just passing two variable to web service and receive the response form server as per condition.
At the server side i have mange PHP
to accept POST
request and response in JSON
.
So create simple php web service. for that you will get idea form w3school
or any other web resource . Now you are abel to do this task.
Native code for android is here.