![]()
![]()
Then is there any way by which the file is saved to the storage such that the user can open and view that file ??
You can used after file save to read html and show webviewer
1.If you want to make file accessible to user then save it to external storage.
2.But why are you manually saving file.Just download it using Download component by setting download url to that website’s url.
He want to download a files which didn’t start with http or https.
There he is getting the error.
How can I save it to external storage ?
Already tried it but getting error.
I dont want to show the content in the webviewer. I just want to save and keep the file in the storage.
Start file name with /
What error are you getting?
I tried doing that but that way I can’t find the file anywhere in my device. I guess that saves the file in sdcard which is not there in my device.
/ saves file to external storage which can be phone storage also.
Which website’s source are you trying to download?
Yes you can checking first if the file exit ( you can show button to open file )
The website I am using is created by me only:
But I cant find the file anywhere.
Can you show your blocks?
On companion or installed apk ?
File should be in the root of external storage.
Also have you granted write permission (in apk)?
Try save file //CodeNinja.html
Are you sure that you can save file to assets?
I don’t agree.
These are relative paths:
// : for assets
/ : for external storage
Yes
Ok. Let me try and check
Look at the blocks

