IMO, the answer to 1 is yes, you do need to close. Initially, my program would work without closing the db early on, but then after increased complexity, I started getting errors because those activities could not properly close on their own.
> I've a question concerning using database on Android. I want to know > if there are any rules for this. > 1) Do we have to close Cursor or SQLiteDatabase after using it? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---