java - Get FileChannel from AssetManager Android -
i want filechannel assetmanager in android, there way this? want map raw custom binary files buffers. (if have better solution assetmanager, please feel free contribute)
figured out:
filechannel fc = manager.openfd(file).createinputstream().getchannel();
not sure if works yet. confirm if does.
edit:
this works if files uncompressed. have use right file extension or add -0 flag on aapt. looking how on eclipse...
Comments
Post a Comment