Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some useful suggestions #146

Open
axb996 opened this issue Jul 14, 2024 · 0 comments
Open

Some useful suggestions #146

axb996 opened this issue Jul 14, 2024 · 0 comments

Comments

@axb996
Copy link

axb996 commented Jul 14, 2024

Some libraries I found when using DocumentFile to implement some functions, which can be used to enhance some functions of SimpleStorage

handle-path-oz
When using SimpleStorage's openFile to get an image, you cannot directly get the [absolutePath] of the image file. Using this library, you can get the real path of the image (/storage/emulated/0/XXXX).

StreamZip
Using this library, you can quickly read the [ZipEntry] in the zip file, which means that you can decompress the specified file in the zip (just get its ZipEntry) and speed up the decompression.

Since it is quick and convenient to get the ZipEntry of the zip file, we can add up the [uncompressedSize] of all ZipEntry and use [bytesDecompressed] to get the real-time progress of the decompression.

I hope SimpleStorage will become better:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant