[android-developers] Re: Call Webservice From Android

2009-12-03 Thread Dexter's Brain
You cannot use rmi package in Android since they are not available. You would perhaps try using kSoap or some other third party tools which you should ensure that they are compatible with Android. Or, may be a simple HTTP post or GET, but for this of course, you need to change your server code. :

[android-developers] Re: call WebService

2008-10-03 Thread Yash Patel
Thank you very much for you response. On Thu, Oct 2, 2008 at 8:51 PM, Charlie Collins <[EMAIL PROTECTED]>wrote: > > If you search this forum you find a lot of info on this topic. It > depends what you mean by "webservice," but if you mean SOAP over > HTTP, the typical path is to use kSOAP on And

[android-developers] Re: call WebService

2008-10-02 Thread Cezar Augustus Signori
Well, you can use the following code (and later put JSON libs to handle the response) String res=""; HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost("http://10.1.1.3:8080/AllertWS/ AllertWSService"); try { post.setHeader("Content-Type", "text

[android-developers] Re: call WebService

2008-10-02 Thread Charlie Collins
If you search this forum you find a lot of info on this topic. It depends what you mean by "webservice," but if you mean SOAP over HTTP, the typical path is to use kSOAP on Android. Anddev.org has some good samples, including a kSOAP one: http://www.anddev.org/webservice_soap_with_complex_data_ty