My Java standalone application gets a URL (which points to a file) from the user and I need to hit it and download it. The problem I am facing is that I am not able to encod
I had the same problem. Solved this by unsing:
android.net.Uri.encode(urlString, ":/");
It encodes the string but skips ":" and "/".