开发者

Loading files from web

I have the follo开发者_JAVA百科wing situation: I have files under raw directory. I use them to load them to textview. I want user to load files from web to be used the same way.

Is it possible? Or do I need to load them to SD? If so - on the SD - how do I prevent reading\copy of these files (in raw directory it is not reachable).


You can load files to the SD card, to internal storage, an SQLite data base, or as a Preferences object. This is discussed here, including security aspects.

What you cannot do is dynamically add to the resources or assets folder that ships with your app.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜