I used the code below to download files using NanoHTTPD, but nothing loads and gives no temporary path.
Code:
new Response( HTTP_OK, MIME_HTML, "<html><body><form name='up' enctype='multipart/form-data'><input type='file' name='file' /><br /><input type='submit'name='submit' value='Upload'/></form></body></html>" );
I successfully load the page, and after clicking the download button, my url also changes to
http:
But nothing downloads to my phone.
Could you help me?
source share