Android Question Archiver: unzip files without their original path

Facilauto Juan

Licensed User
Hello there!

I have made a sample app that uncompress a zip file in the app directory (Android/data/...).

My problem is that the files unzipped has their original path, like c:\user profile\...

How can I aboid that behavior?

Thanks in advance.


Licensed User
You need to make sure the path is not present when you compress the files, the compression software should have an option to do that, note that relative paths are needed if you have sub directories in the zip.

If you select the files in the root directory of the files you want to compress the software should add absolute paths, if it still adds them either find the option to dissable it or find another compression software.
Upvote 0