You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to get the output or error message as a String I can use in the application?
For example if I want to get the list of files inside the archive, using the below command, is there a way to get the list that is output? 7z l archive.zip
Right now the command just returns the error code Int, with no command output.
The text was updated successfully, but these errors were encountered:
One other question, is it possible to pass a file into 7z directly, instead of typing a command? Like could I pass in a file descriptor, like in this StackOverflow post?
With newer versions of Android it's not possible to just send a path to the library, since we have to use the StorageAccessFramework to access files. If I try to access a file with this lib on Android Q, it returns an error about not having permissions.
Is there a way to get the output or error message as a String I can use in the application?
For example if I want to get the list of files inside the archive, using the below command, is there a way to get the list that is output?
7z l archive.zip
Right now the command just returns the error code Int, with no command output.
The text was updated successfully, but these errors were encountered: