How to hide downloaded files?

Hi! can i hide downloaded app assets?

1 Like

Your app’s assets are only visible to your app and gets deleted when your app is uninstalled.

1 Like

sorry my question wrong i want hide downloaded files

1 Like

If they are stored in a folder, then in that folder, add an empty .nomedia file.

1 Like

and can i create folder? :smiley:

1 Like

Yes, just use a path like this /sdcard/folder1/folder2/file

1 Like

I do not understand how to do it, can you give an example?

Or you can add a dot(.) before file/folder name to hide it from media scanner.

2 Likes

Save the downloaded files in .hidden_folder_name. For example, .files. You can access it simply like other folders. For example if it is internal storage, file://mnt/sdcard/.files/ can be used.

How do you delete it after it’s hidden?

Use that file name to delete it 🤷

You can use taifun file extension to delete it and specify the folder path to file:///mnt/sdcard/.files/

1 Like

Will the files be deleted if the app is uninstalled?

No, you will have to delete them.

So, how do deleted files when users uninstall the app? @Maayur

1 Like

Don’t know, never tried.