Opal wrote:
> I need to call a servlet from my android app and send/receive some
> data (using post method). I don't know how to do it and reading the
> API doesn't help me very much. Do u know any solution or have any idea
> how to do it?

If you use HttpURLConnection, it works the same as in "regular Java":

http://www.exampledepot.com/egs/java.net/pkg.html

If you use org.apache.http.*, there is documentation and examples at:

http://hc.apache.org

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to