Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Contributor
Posts: 6
Registered: ‎02-18-2011
My Device: Not Specified

Adding a callback for changes in a database or file?

Is there a way to insert a function that is called back as soon as a database (net.rim.device.api.database.Database) changes? (e.g. after adding rows). Or is it enough to look if the DB file changes? I guess probably the file might change before the transaction has ended?


Would be great, if you could point me to a sample code or documentation/tutorial for doing something like that :-).