Hi,
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?
2) Let's assume that we have a class DatabaseInterface with static
methods like createDatabase(), addSomething(SQLiteDatabase),
deleteSomething(SQLiteDatabase) etc. We also have an activity and a
service. The first method returns SQLiteDatabase object. Other ones
use that object for operations on that database. Do we have to make
those methods synchronized for multi-process access?
--~--~---------~--~----~------------~-------~--~----~
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]
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
-~----------~----~----~----~------~----~------~--~---