Search code examples
android.netweb-servicestabletandroid-2.2-froyo

Why does my android app doesn't connect with my web service when I install it on my tablet altough it runs fine in a virtual device with froyo?


I developed an android app that consumes .net web services using ksoap-2.
The app consumes the service very well on a virtual device with android 2.2 (froyo), but when I install the apk package on a tablet with android 2.2 (froyo) the consume of the service isn't done.

I have already added the internet permission to the manifest file.
I don't have any other ideas to make this runs on the tablet, any ideas?


Solution

  • The issue was because since Android Gingerbread 2.3 they introduced a new way on consuming Web services, you're not allowed to consume a WS from the parent thread.