Hi Ricardo thanks for your help.
Do you have any sample code/project with HttpURLConnection which i can
use on SDK 0.9 please?

Thanks

On Oct 12, 4:48 pm, Ricardo <[EMAIL PROTECTED]> wrote:
> Hi,
>
> have you tried the HttpURLConnection ?
>
> --
>         URL u = new URL(url);
>
>         HttpURLConnection conn = (HttpURLConnection)
> u.openConnection();
>
>         conn.setRequestMethod("POST");
>         conn.setDoOutput(true);
>         conn.setDoInput(true);
>
>         conn.connect();
>
>         OutputStream out = conn.getOutputStream();
>
>         byte[] bytes = params.getBytes("UTF8");
>
>         out.write(bytes);
>         out.flush();
>         out.close();
>
>         InputStream in = conn.getInputStream();
>
>         read inputstream here
>
>         conn.disconnect();
> --
>
> you your servlet, get the response OutputStream and write something..
>
> On 12 out, 11:25, Hans <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > anyone has an HTTP POST-Reply sample working on SDK 0.9 available
> > please?
> > Any help is greatly appreciated.
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to