Google has deprecated HttpClient
Choose an HTTP Client
Most network-connected Android apps use HTTP to send and receive data. Android includes two HTTP clients:HttpURLConnection and Apache HttpClient. Both support HTTPS, streaming uploads and downloads, configurable timeouts, IPv6, and connection pooling. We recommend using HttpURLConnection for applications targeted at Gingerbread and higher. For more discussion of this topic, see the blog post Android's HTTP Clients.
Reference url:
http://codeblow.com/questions/apache-http-client-or-urlconnection/
http://www.oschina.net/question/871224_84258?sort=time
http://developer.android.com/training/basics/network-ops/connecting.html
http://blog.csdn.net/guolin_blog/article/details/12452307
浙公网安备 33010602011771号