Re: [android-developers] Re: Get web page with spaces in path

2010-11-13 Thread xiaoxiong weng
Nice On 2010-11-13 10:52 AM, "Hal" wrote: something like this should work (Taken from Jt.http.JtHttpAdapter) try { eString = URLEncoder.encode(xmlMsg, "UTF-8"); } catch (UnsupportedEncodingException e) { handleException(e); return (null); } I h

Re: [android-developers] Re: Get web page with spaces in path

2010-11-12 Thread Kumar Bibek
Please try to see what response status codes you are getting. On Fri, Nov 12, 2010 at 10:45 PM, Pikoh wrote: > Well let's see. This is basically what i'm doing: > >HttpGet httpGet = new HttpGet("http://www.emtmalaga.es/portal/ > page/portal/EMT/Tiempos%20de%20espera?idParada=364

Re: [android-developers] Re: Get web page with spaces in path

2010-11-12 Thread Kumar Bibek
How are you using it? I guess, you are doing something wrong. Also, when you replace spaces with %20, what status codes do you get? On Fri, Nov 12, 2010 at 10:16 PM, Pikoh wrote: > Hi Kumar, > > With URLEncoder, HttpGet gave me "target host must not be null". It's > strange, now i've found a so