ContentProvider or SQLite ?

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

ContentProvider or SQLite ?

Postby IHeartAndroid » Fri Oct 23, 2009 11:00 am


I am trying to implement some kind of caching mechanism for complex data like images or xml files.

Since BLOB is not supported in Androids SQLite I have two options:


Download and save the files to the file system. Writing the path of the file and some additional data
to a simple SQLite database using Strings and Longs etc.

I don't need to share data accross my application, so ContentProvider is not necessary. However I am not sure if its still a better idea to use ContentProvider because of performance or [give me your reason]
User avatar
Junior Developer
Junior Developer
Posts: 24
Joined: Wed Jul 08, 2009 8:51 am


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 2 guests