On Feb 19, 1:36 pm, Mariano Kamp <[email protected]> wrote: > Anyway, how to proceed from here? Do you know how the actual locking > mechanism works? It seems (http://www.sqlite.org/lockingv3.html) that they > use page level locking. I assume the list adapter's getCount() uses all > records, so probably also the last page where new inserts are added!?
I'm afraid I haven't the Android SQLite stuff at all yet, so I'm way out of my depth here. What I had in mind was something like closing the database in the download thread while you're doing the actual downloading and parsing and such, and then just opening it when you have a record to insert (or perhaps storing the records in a local data structure and then waiting until you have a batch of them to insert at once). -- Jon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

