Friday, 15 May 2015

Where to keep editable config file for Android application? -



Where to keep editable config file for Android application? -

i want config file similar config.xml in .net can edit manually device. have info can modified. 1 way figured out maintain file in sdcard in xml form , read that. question approach whether reading xml sdcard in android app slow downwards performance?

is there other way store config file can changed later?

you consider using sharedpreferences. not sure purpose of config.xml in .net is, if saving info can modified looking for, sharedpreferences sounds solution.

of course, mentioned above, not knowing config.xml for, taking stab suggestion. allow me know if not looking for. delete reply before down-vote barrage begins. ;-)

in case fits bill, here few tutorials started.

http://android-er.blogspot.in/2011/01/example-of-using-sharedpreferencesedito.html http://saigeethamn.blogspot.in/2009/10/shared-preferences-android-developer.html http://www.androidhive.info/2012/08/android-session-management-using-shared-preferences/ http://www.mybringback.com/tutorial-series/12260/android-sharedpreferences-example/

android app-config

No comments:

Post a Comment