[Android Development] Using Http Connections
Since Android 6.0, the traditional methods/classes such as HttpClient and NameValuePair are not available anymore. Instead HttpUrlConnection is used for sending/receiving Http requests and response, which is an rather easier and integrated methodology. Here are some tips for myself and some possible developers to pay attention to while developing Android apps.
1. First of all, never forget to add Internet related permissions to AndroidManifest.xml.