Why does my “content://” URI return a null InputStream, even though I can read from the ZipResourceFile object?
问题 I'm setting up Google's APEZProvider to read .PNGs (compressed) and .MP3s (not compressed) from an APK Expansion zip file. File retrieval works just fine if I avoid the URI, and stick to "getAPKExpansionZipFile()" But when I try to retrieve my files using the "content://" API, I am getting a null InputStream. (I need the URI to satisfy the APIs of media players.) This is for an Android app targeting API 26. In the past I was able to get the content provider working. But I've broken something.