Android‎ > ‎

URL Encoding

posted Mar 5, 2013, 4:06 AM by Akash Khaitan   [ updated Mar 9, 2013, 7:57 AM ]
URL Encoding basically means encoding of string in http format, like replacing of spaces, &, = etc

String encodedURL = URLEncoder.encode(urlAsString, "UTF-8");
URL url = new URL(encodedURL);

Comments