Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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.

asked 08 Aug '11, 17:12

Jobson's gravatar image

Jobson
1765612
accept rate: 0%

edited 08 Aug '11, 17:14


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.

permanent link

answered 08 Aug '11, 22:12

PhilippeBertrand%20_SAP_'s gravatar image

PhilippeBert...
1.8k42139
accept rate: 22%

Is RegisterForEvent going to be released to ultraliteJ?

tks

(17 May '12, 14:56) Renato
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×162
×159
×79
×41

question asked: 08 Aug '11, 17:12

question was seen: 2,470 times

last updated: 17 May '12, 14:56