0

My requirement is I need to modify client configuration information into one values/client_configuration.xml at runtime. I Google it, couldn't resolve issue. I don't want to keep in sharedPreference. Because this application already developed need to do some modification only. So are there any ways to change file?

please guide me.

Thanks

1
  • String.xml are string constants you will not be able to change the content. - I would use SQLite Commented Mar 7, 2014 at 8:32

1 Answer 1

1

You cannot change any files that are included with the application as it's distributed. What you can do is copy an XML file from inside you assets folder, for example, to the internal storage and then use it from there. You can modify the file on local storage as necessary. Or use a sqlite database.

You didn't provide any context about what it is you really need to do, but it sounds like you don't have a full understanding of how apps utilise storage. I strongly suggest you read Storage Options sections of the Android documentation.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.