Android Question Archiver: unzip files without their original path

Facilauto Juan

Member
Licensed User
Longtime 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.
 

ggpanta

Member
Licensed User
Longtime 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
Top