0

I'm trying to parse a link that conatins spaces, but the Uri.parse method doesn't work on that... Any idea why does it happen and how to fix this?

  • please post code if you really try – Ajay Pandya May 10 '15 at 10:19
  • 1
    `why does it happen?` because you have a space in your Uri `how to fix this?` http://en.wikipedia.org/wiki/Percent-encoding – pskink May 10 '15 at 10:48
  • 1
    You can add %20 in place of spaces as shown here http://stackoverflow.com/questions/2593214/android-howto-parse-url-string-with-spaces-to-uri-object – M090009 May 10 '15 at 10:49

0 Answers0