Answer the question
In order to leave comments, you need to log in
How to display the contents of an archive?
Guys, help me decide how best to unpack the archive on Android. The essence of the problem is to display the contents of the archive to the user and, if he wants to, unpack the archive, but here the question arises "How to display the contents of the archive?".
I have several options:
- you can just go through and take the meta data from ZipEntry, but there are some problems with building a hierarchy inside the directory
- you can unpack it into some temporary directory, but it's much better in Internal Storage or External, plus what to do if the application blush, how to clean up again so as not to take up space because the phone is a device with rather limited resources.
I would be glad if someone shares their experience in solving similar problems.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question