Wednesday, October 10, 2012

Exception “Illegal character in query at index -” in Android

We need to to replace "White spaces" with "%20"

selected answer:
data = data.replaceAll(" ", "%20");

http://stackoverflow.com/questions/12816674/exception-illegal-character-in-query-at-index-in-android/12816775#12816775


Check more notes : http://www.blooberry.com/indexdot/html/topics/urlencoding.htm

No comments:

Post a Comment