kiwix/kiwix-android

Assess SimpleStorage

Opened this issue · 1 comments

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

Following #3265

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 #3628 that is blocked due to the openzim/libzim#852. So we can consider this after #3628 has been fixed.