i\'m trying to write my own android http server. It\'s quite OK but i have a problem with my AVD. I don\'t want to download my app to phone everytime I want to test changes.
Telnet into the device (assuming it is on port 5554):
telnet localhost 5554
At the Android console prompt use a redirect:
redir add tcp:8080:8080
Pointing your browser to 'http://127.0.0.1:8080/' should now send, and receive to the AVD.
Courtesy of: http://www.rhill.co.uk/?p=35