How can you read GZIP file in Android located in the \"ASSETS\" (or resources/raw) folder?
I have tried the following code, but my stream size is always 1.
What happens if you use AssetManager instead of Resources? Example:
AssetManager
Resources
InputStream is = mContext.getAssets().open("myfilegz"); GZIPInputStream fIn = new GZIPINputStream(is);
Internally, Resources is just calling AssetManager; I wonder if somewhere along the way it musses things up.