webserver - Serve files in folder with an Android Web Server -
i'd serve files (.html , .css files, example) of local folder recreate usual behavior of "real" local website.
here 2 examples of applications work how i'd mine work: tiny web server free , kws - android web server.
i searched lot google couldn't find anything...
i tried nanohttpd appears can't set root or home directory , able return http code returning response
object serve()
method. that's not want.
i'd able set root directory, example sdcard/www/
, index.html
includes images sdcard/www/img/
subfolder...
also, found this answer, not want. consists in returning content of .html file in response
object serve()
method.
how i'd do?
Comments
Post a Comment