Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how we can remove a file from the assets folder at runtime in android?

Tags:

android

how we can remove a file from the assets folder at runtime? Is it even possible?

like image 740
Arup Saha Avatar asked Dec 09 '10 13:12

Arup Saha


People also ask

How do I delete assets folder?

To delete one or more assets, select the assets in the Browse Panel, and press Delete or go to File > Delete. To delete a folder, select the folder in the Asset Library, and select Remove Folder. Deleting a folder deletes the folder, all the assets in the folder, and all assets in its subfolders.

Where is the Android Assets folder?

Assets folder is saved under main folder: main/assets: Here we will share step by step how to create Assets raw folder in Android Studio.


1 Answers

Here is a discussion about it:

http://www.mail-archive.com/[email protected]/msg16172.html

Seems like the apk is read only and you wont be able to modify it.

Edit:

Check commonswares answer here:

Security of Android assets folder

He is saying the same thing, you can't modify it at runtime.

like image 153
softarn Avatar answered Sep 24 '22 02:09

softarn