kiwix-android icon indicating copy to clipboard operation
kiwix-android copied to clipboard

Assess SimpleStorage

Open kelson42 opened this issue 1 year ago • 1 comments

Assess if we would benefit of using https://github.com/anggrayudi/SimpleStorage

Following #3265

kelson42 avatar Aug 27 '23 07:08 kelson42

This would benefit us as it provides the many methods that ease accessing files(DocumentFile) on different API levels, and handle code for different API levels. but as for now, we know that we can not open the ZIM file via inputStream/[DocumentFile]/fileDescriptor provided by this library. Libkiwix needs the filePath(with proper read access) to work properly with Xapian. And android restricts the direct read access to filePath. We already have this type of ticket for https://github.com/kiwix/kiwix-android/issues/3628 that is blocked due to the https://github.com/openzim/libzim/issues/852. So we can consider this after #3628 has been fixed.

MohitMaliFtechiz avatar Jun 13 '24 07:06 MohitMaliFtechiz