Reputation: 9317
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.
Upvotes: 0
Views: 2613
Reputation: 74557
Android's java.net
package is pretty much the same as Java's so you can use Socket
s and ServerSocket
s 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:
Upvotes: 2