SQLiteDatabase or XML(saving)?

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

SQLiteDatabase or XML(saving)?

Postby freeb0rn » Tue Mar 22, 2011 11:05 am

Hello guys,
Thanks for making android a wonderful platform.

What is the best option for saving a well formatted document(a document with images) on a device?
I know this can be done by saving to a XML file or on a database, but which of these two is the most preferable.

Hope the question was clear.

Thanks in advance.
-Ernest
freeb0rn
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Mar 22, 2011 10:50 am

Top

Re: SQLiteDatabase or XML(saving)?

Postby lockon_stratos » Mon Mar 28, 2011 4:30 am

Hi,

If you have images, SQLite can save images using BLOB data type and i think its not feasible on XML format.

My first option is to use SQLite to save image as you have mentioned.
Lets go to snipe!
User avatar
lockon_stratos
Freshman
Freshman
 
Posts: 7
Joined: Wed Mar 16, 2011 5:00 am

Top

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests