I am building a GWT app that uses Web SQL Local Storage ( http://dev.w3.org/html5/webdatabase/ ). The problem is that the Web SQL API uses callback functions as arguments.
Is it possible to pass "Java" callbacks to JSNI?
I am building a GWT app that uses Web SQL Local Storage ( http://dev.w3.org/html5/webdatabase/ ). The problem is that the Web SQL API uses callback functions as arguments.
Is it possible to pass "Java" callbacks to JSNI?
Yes, it does. See this very similar example I wrote to pass callbacks through JSNI to be used with the WebSockets API.