How to create a configuration file for an Android application?

I want to develop one Android framework application for a citation guide. I need one configuration file for all links. This configuration file, I will modify this configuration file to create various new cities. How to create a configuration file for my application.

Does anyone know how to create an xml configuration file for our Android application. Please give some idea about this.

+4
source share
2 answers

You can use sqlite database files for it. You have your own API for reading and writing both of these command line tools.

If you want to create an xml file instead, then it is no different from any other XML file (unless you think about SharedPreferences, which use the xml format to save data, but I believe that this is not the best API for your application).

+1
source

This good sir is possible using common settings

+1
source

All Articles