Friday, January 4, 2013

[android-developers] Re: How To: Provide notification to Android app whenever SQLite table updates

You should probably have a look at ContentResolver.notifyChange and registerContentObserver.  Look at the implementation of Cursor.setNotificationUri. These won't help you monitor access to the DB, but they are a great way of monitoring changes to the data that the DB contains.

G. Blake Meike
Marakana

Programming Android 2ed is now in stores:
http://bit.ly/programmingandroid

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