tags:

views:

135

answers:

1

I am new on android and building an application which uses webservice to collect user information in XML. I also get path for a small jpeg picture of each user. (Currently there are about 200 users)

I am parsing the XML and storing the information in SQLiteDatabase. Pictures are stored as blob and able to retrieve them. I display names of users on listview with images as well.

But is this a good solution for storing pictures in SQLite Database ? Or should consider storing it in file system ?

Which is suitable in terms of performance , as well as memory and any other pro and cons on Android.

Also like to know which is best performing XML parser for Android ? My purpose is only to parse xml files which I get through web services and sort out the data to store in storage.

And lastly my memory goes off easily when I load all images to display in list view after making thumbnails of each (which is obvious). Was wondering is there any library/framework/app available which dynamically loads images as and when required (when that list item is on display) something like Gallery program ?

Any help highly appreciated. Thanks.

A: 

I will not answer your question, but have you seen this presentation? http://www.scribd.com/doc/16917367/Coding-for-Life-Battery-Life-That-Is

XML will eat alot of battery power to parse.

Malx
Thanks for your post
mob_king