Can I have random file access to a f开发者_高级运维ile bundled in my Android aplication? I don't want to copy the file from apk to the sdcard.
No, you can't: How to get a path to resources? . If you don't want to copy a file to sdcard, you could read it fully to a memory buffer and work with this buffer.
This response is correct, but there is a workaround: RandomAccessFile in Android raw resource file
精彩评论