You can use ContentProvider#bulkInsert or ContentProvider#applyBatch to do a bunch of operations in one go.

Pepijn

On 23/03/2011 08:59, ydm wrote:
Hello!
I have to insert around 100 rows in a sqlite db at once (trough
content provider). Is there any way to make it process all the queries
at once, instead of querying the provider for each row separately.


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

Reply via email to