开发者

Random access to file bundled with Android apk

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜