cancel
Showing results for 
Search instead for 
Did you mean: 

Ultralite for Android: notifications on connection events (TableModified, Commit, Rollback, ...)

Former Member
2,762

Using Ultralite for Android, is there any way to register for notifications on predefined connection events like TableModified, Commit, Rollback and MainConnectionClosed? For iOS, it's possible to call the method RegisterForEvent (ULConnection). In the Connection class used for Android there's no equivalent method for that. If there's no other way to be notified about these events using Android, is there any plans of support for this same mechanism currently available for iOS?

We need these notifications in order to dynamically refresh a screen if the tables being used by that screen were modified during a background sync.

Accepted Solutions (1)

Accepted Solutions (1)

philippefbertrand
Participant

As Tom said:

When the Android software was initially released, we tried to cover the most-used aspects of the UltraLite API. We have added a few items since then, such as extended cursor movement support (ResultSet beforeFirst(), first(), last(), afterLast(), relative( int offset ), getRowCount( long threshold )) and DatabaseManager.release(). We can't promise anything now, but your request is helpful as we evaluate which of the other APIs we need to implement.

RegisterForEvent was not in the original UltraLiteJ API which was probably was it was not considered critical but given we have the SyncObserver, I see no reason why it can't be added to the list for Android.

Former Member
0 Kudos

Is RegisterForEvent going to be released to ultraliteJ?

tks

Answers (0)