How to store data from XML file to SQLite database in android

I am developing an application -- When a user is successfully logged in, an XML file is fetched from a URL and the XML data is displayed in list view. How do I store that data in SQLite database, such that an offline user can see the data stored in the database? I also want to create a refresh button, which displays an updated XML file and stores it in SQLite, when it is clicked.
 
Back
Top