Objective: My goal is to extract a zip in the local folder of the "Assets" application from a button, then verify that the files are there and read them. I need it to be in java to compile in Android Studio.
Asked
Active
Viewed 78 times
0
-
`in the local folder of the "Assets" application` ??? What would that be? – blackapps Jan 01 '20 at 08:49
-
[enter image description here][1] [1]: https://i.stack.imgur.com/6piFW.png – Federico Corzo Jan 01 '20 at 08:55
-
You could use some unzip libraries https://stackoverflow.com/questions/9324933/what-is-a-good-java-library-to-zip-unzip-files – rsonx Jan 01 '20 at 09:00
-
1you could use your installation folder created by the app installed by the OS like Environment.getExternalStorageDirectory().getPath() + "/Android/data/"+yourpackagename+"/Assets/". This will let you delete all files when you uninstall the app – Java Nerd Jan 01 '20 at 11:17