in my app when i click a button, i want to show an xml file which is been stored in a database of an url, how to do this, pls give me an example.
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.
Have a server side script get the data on the server and return it as XML. Then download the page and load it into your application.
Using this code you can get an xml file from an online database and parse it as a xml Document in Android.
This is a short script that should download a webpage and return it as a string
This is a simple DOM parser to parse a string into a Document object.