[android-developers] Re: Webservice on Android

2009-11-18 Thread Luis-Jaime
Found the solution. It was the proxy. The link below shows how to do this, but as a reference I'm also including the code I used from that link. http://www.mail-archive.com/android-developers@googlegroups.com/msg65644.html public void onCreate(Bundle savedInstanceState) { try { super.onCr

[android-developers] Re: Webservice on Android

2009-11-15 Thread Luis-Jaime
I also have the same issue described by Mark. I can call my web service using KSOAP2 when using my WiFi network, but when I try to use it through my phone's internet plan, it times out. I've been trying to find a solution for days. I've tried simple HttpGet and still get timeouts... I'm suspecting

[android-developers] Re: Webservice on Android

2009-11-07 Thread davemac
If you mean that you want to reach a web service from a phone, then hopefully the web service is not SOAP-based. REST-ful web services are more lightweight than SOAP and a better fit for Android. If you have control over the design of the web services, go with that. If you're forced to use SOAP, th

[android-developers] Re: Webservice on Android

2009-11-07 Thread rubeN_vl
I'm aware of that On 7 nov, 15:07, Mark Murphy wrote: > rubeN_vl wrote: > > i want to run a webservice on a Android phone. > > Why? It's not going to be reachable, except on a local WiFi network, and > even then only if somebody knows the IP address of the phone. > > -- > Mark Murphy (a Commons