hi i am new to android.What i did is i am creating a xml file with some data.Now i need to add some additional data to existing xml file dynamically.How can i done this.Pls help me.Thank u in advance.
Share
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.
Everything that you do with XML in your layout file can be done via coding inside the
.javafiles.For example, if you want to change the text of the label, you grad the ressource in your code and modify it or if you have a table and want to add data depening on some previous operations, you create the rows programmatically and add it to the “xml” table.
Read through the UI Guides to get many examples and explanations. The Dev Guide is a great ressource and well written.