Using an available WiFi IP (i.e. 192.xxx.x.x, using post 8080), I'd like to create a http server in android that can connect and can be accessed by a desktop so that I can transfer files to the android device.

Update:
I'm currently trying out NanoHTTPD but I can't seem to make the sample HelloWorld run on android device..

I changed the hello world code and made it extend activity instead and created an object [nanohttpd](http://elonen.iki.fi/code/nanohttpd/).

I modified up to specifying what port to be used but upon further debugging, I found out that the server socket has no getInetAddress at all. I thought NanoHTTPD no longer needs further config...?