Monday, July 1, 2013

[android-developers] android.os.TransactionTooLargeException on applyBatch()

Hi,
In my application, I am executing applyBatch() on contacts database  to insert huge contacts. Calling applyBatch() with 490 operations at a time.
But the insertion is failing with 'android.os.TransactionTooLargeException'. Reduced the operation size to 200. Still I am getting the same error.
Please let me know how to resolve this issue.

Thanks,



--
--
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+unsubscribe@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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment