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. :
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
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
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
4 matches
Mail list logo