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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it does:
Two things to remember:
$entry()reminds GWT to keep track of the code when using the debugger.var self = thiskeeps the reference tothisinside the function — otherwisethiswill be the function itself…