开发者

How to create configuration file for android application?

I want to develop one android frame work application for cites guide. I need one configuration file for all cites. That configuration file,I will change that configuration file for make various new cities guide. How to creat开发者_StackOverflowe configuration file for my application.

Anybody know "how to create xml configuration file for our android application". Please give some idea about that.


You can use sqlite database files for it. You have a native API to read and write those and on top of that a command line tool.

If you want to create an xml file instead, then it's no different than any other xml file (unless you are thinking about the SharedPreferences, which use an xml format to save the data, but I believe it's not the best API for your application).


That good sir is possible by using shared preferences

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜