[android-developers] SQLite locking
How do the
android.database.sqlite.SQLiteDatabase.isDbLockedByCurrentThread() and
isDbLockedByOtherThreads() methods work?
To be able to use them, you must open the database first with either
OPEN_READONLY or OPEN_READWRTE modes, which seems like putting the
cart before the horse.
Can I assume that even if a DB is locked for read/wite, I can still
open it in read only mode?
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home