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.
Asked
Active
Viewed 2,592 times
1 Answers
2
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:

Community
- 1
- 1

Josef Pfleger
- 74,165
- 16
- 97
- 99
-
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 Pfleger Jul 08 '09 at 06:41