How To Save A File locally

Hey Guys I Am Building An App in which i Want to store a html file locally how can i do that

This post was flagged by the community and is temporarily hidden.

Just be patient.

Where’s the original HTML code? In a file in the assets?

I Html code i am fetching through firebase then how can i store it locally

i need to store i locally so it can even be acessed by chrome

Simply save it to your sdcard (/mnt/sdcard/ or /storage/emulated/0/, then it is accessible to the app and to the device browser. You can also create a directory on the sdcard and save it there…

1 Like

how to create a directory

What Is The Way Of Making A directory And Then Saving the files in that folder

Have you used the search option at the top of this page? (The magnifying glass icon).
Use it and if you don’t find what you are asking, come back.

5 Likes

Use can use following blocks if you want to download from certain URL;
image