I have a problem: how can I to write / update data in an XML document.
Path of XML file: MyProject/res/xml/contacts.xml
Example of xml code:
<contacts>
<contact choise="0" phone="0" />
</contacts>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please know that res files are static and cant be changed during runtime. Its not preferable too. Better you can save it in your internal files where your database exists, copy it into sdcard, edit it and push it back ti internal memory and delete the file from sdcard.