What's the best way to store and access XML in Android?

后端 未结 3 1450
执笔经年
执笔经年 2021-02-06 04:18

While I realize resources themselves are defined in XML files, if I have an XML file of my own type that I wish to use, should I be storing them in \"res/xml\"?

Is there

3条回答
  •  一向
    一向 (楼主)
    2021-02-06 04:44

    If you prefer ease of coding over lightning fast speed then I would use the Simple XML library instead. It is just easier to program for. I wrote a blog post that you can view that explains how to include it in a project of yours.

提交回复
热议问题