I am having a task,considering one emulator as server and i have to access a web service from the client emulator.I think this is not possible in android,if anyone knows about it please send some code snippets to do this.
+2
A:
Android's java.net package is pretty much the same as Java's so you can use Sockets and ServerSockets for TCP communication or a DatagramSocket for UDP.
However, there is currently no support for SOAP webservices in the android SDK but you can use third party libraries or build your own. Have a look at the following questions:
Josef
2009-07-08 06:40:57
I find it interesting that both questions I linked to were asked by a user with the exact same name (but different user id). Did you re-register?
Josef
2009-07-08 06:41:54