how to url encode in android?
<p>I am using grid view for displaying image using xml parsing,i got some exception like  <code>java.lang.IllegalArgumentException: Illegal character in path at index 80: <a href="http://www.theblacksheeponline.com/party" rel="nofollow">http://www.theblacksheeponline.com/party</a>_img/thumbspps/912big_361999096_Flicking Off Douchebag.jpg</code>,how to solve this problem?,i want to display all kind of url,anybody knows please give sample code for me..</p>

<p>Thanks All</p>
