Open s1mar opened 7 years ago
Just put all content in asset folder and access them by InputStream is = MainActivity.getAssets().open("script.js"); This will return an input stream you can something like this return newFixedLengthResponse(Response.Status.OK, "text/javascript", is, is.available());
I'm placing my website folder in my apps asset folder,how can I set nanohttpd for this ?!?