[android-developers] SQLite and XML

2010-11-11 Thread zizzfusion
So I have a rather simple XML output from a database I made in mySQL.
Now what I want to do is retrieve this data and place it into the
SQLite database of my app. I'm at the stage where I've defined the
onCreate methods for each of the tables. The XML data may need to be
added to or changed over time so I need a way of dynamically loading
the data into the SQLite database. Should this be possible?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] SQLite and XML

2010-11-11 Thread Prakash Iyer
Look at the NotePad example in the SDK. The main class is SQLiteDatabase.
There are functions to insert, update, replace and select. The helper is
good for creating and updating.
On Nov 11, 2010 8:28 AM, zizzfusion calumer...@gmail.com wrote:
 So I have a rather simple XML output from a database I made in mySQL.
 Now what I want to do is retrieve this data and place it into the
 SQLite database of my app. I'm at the stage where I've defined the
 onCreate methods for each of the tables. The XML data may need to be
 added to or changed over time so I need a way of dynamically loading
 the data into the SQLite database. Should this be possible?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en