AndServer是一个Android的Web服务器, 支持部署动态网站和静态网站, 支持写Http接口,和Java的Servlet一样。
本demo是将android设备内部存储区做为一个http服务器,供http下载使用。
将android设备做为http服务端,把android设备的wifi热点打开,其它设备连接上该wifi,可以通过下载地址(例如http://192.168.43.1:8080/storage/emulated/0/DCIM/Camera/test.jpg) 去下载android设备上的文件。