Wednesday, April 13, 2011

[android-developers] First row didn't record In SQLiteDatabase.insert method

1) Record with the method SQLiteDatabase.insert
2) The method SQLiteDatabase. returns the id of the record
3) App successfully retrieves the record by id using the
SQLiteDatabase.query immediately after insertion
4) In another thread, the app try retrieves the record but the
SQLiteDatabase.query null.

Does someone know why it happened?

--
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


Real Estate