If you make the program, most of the programs use third-party lib, which is relatively stable. Or use the official one. https://code.google.com/p/android-query/wiki/AsyncAPI http://loopj.com/android-async-http/
The main ones are http and webservice, but the most commonly used one is http. You can watch the video below, which talks about the connection problem with the server. It is very insightful. http://www.jikexueyuan.com/course/939.html
Android accesses the network, using HttpURLConnection or HttpClient?
No matter which one you use, you must understand the http protocol.
If you make the program, most of the programs use third-party lib, which is relatively stable. Or use the official one.
https://code.google.com/p/android-query/wiki/AsyncAPI
http://loopj.com/android-async-http/
The main ones are http and webservice, but the most commonly used one is http.
You can watch the video below, which talks about the connection problem with the server. It is very insightful.
http://www.jikexueyuan.com/course/939.html