DB.open(new Runnable() { public void run() { // ... do stuff here ... } });
Basically, I'm just stealing the JavaScript-y way of doing this that uses closures:
DB.open(function() { ... });
Blech. This might work for some cases, but would be a huge pain in the ass in others.
Basically, I'm just stealing the JavaScript-y way of doing this that uses closures: