Yes that is a wonderful feature of Android, in that much of the backend functionality is the same as 'regular' java. You can even stream objects back and forth to servlets, no need for chossy xml/soap type web data services.
M On Apr 6, 11:06 am, Mark Murphy <mmur...@commonsware.com> wrote: > 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 -~----------~----~----~----~------~----~------~--~---