Please help me to encode the url:
http://dsxsd.com/def/fss/default/files/10 رسم الصباح - 1.mp3
I need to download this file in android app. when i am trying to make url connection it gives me 404. but on browser the url is working. when i pasted browser encoded url its working fine.
But i can't hardcore the things as i have my urls like this coming from server.
I tried to encode using Urlencoder.encode(url,"UTF-8"); but server call gives me wrong url I am getting "java.net.MalformedURLException: Protocol not found: http%3A%2F%........
have this url not separate path params and query params to encode separately.
please help me in it.