About
Net, http supports on Android
Articles Related
HTTP
Android support/includes two HTTP clients
- HttpURLConnection (Droid Doc reference/java/net/HttpURLConnection.html or Java doc javase/9/docs/api/java/net/HttpURLConnection.html)
- and the Apache HTTP Client (reference//org/apache/http/impl/client/DefaultHttpClient.html or AndroidHttpClient)
URI
See What is a URI (Uniform resource identifier)?
Uri.Builder uriBuilder = Uri.parse("http://myServer/myPath?").buildUpon();
uriBuilder.appendQueryParameter("q", "valueForParaq");
URI uri = uriBuilder.build()
URL url = new URL(uri.toString());