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
-~----------~----~----~----~------~----~------~--~---