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 hope it helps.
On Nov 12, 10:10 am, Pikoh <[email protected]> wrote:
> Hi all,
>
> i'm stuck with this one. i just want to get this webpage
> ->http://www.emtmalaga.es/portal/page/portal/EMT/Tiemposde espera
> into a string. I'm using HttpGet(url). First it threw me an error
> because of spaces, and i used %20 to replace them. Now it doesn't
> throw me any error, but it gets no data. I've tried also URLEncoder
> and "URL url = uri.toURL();" but still no result. Hope someone points
> me in the right direction.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en