开发者

Modifying local file inside Android

I have an XML file stored in the res/xml that I am trying to write to. I know how to read it using XmlResourceParser, but I have not been able to find a way to write to that file locally.

开发者_开发知识库

Thanks Venkat


You can't modify the resources. They are compiled at apk build time.

The only thing you can do is to store the file to another location(ds-card or internal memory), modify it here and use that newly created file.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜