问题
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.
来源:https://stackoverflow.com/questions/13640649/android-app-and-web-server