Tag Archives: android

How Send Data Web Service on Android Emulator ?

How Send Data Web Service on Android Emulator ?

First of all check your running Android Emulator port (Especially : 5554) My port number is 5554. Open command line in windows. Run this “telnet localhost 5554”. After we have to redirect our port the emulator. Run “redir add tcp:5050:8081” command .We can send data using “http://localhost:5050” and listen to 8081 port in your app on Android Emulator. You can check your connection using this “telnet localhost 5050”.

>>telnet localhost 5554
Android Console: type 'help' for a list of commands
OK
>>redir add tcp:5050:8081
OK
>>exit