01-05-2012 01:34 AM
I trying to write a twiiter client using webworks for the playbook. I use JSON, I want to put the parsed data in a DB for usage later. Problem is sometimes the executeSql command runs, sometimes it doesnt, as example:
01-05-2012 03:02 AM
You should be careful handling this asynchronous data. Your table might not have been initialized yet by the time made the insert on it. You could ensure that you're table was created by adding an alert or something on the success callback of your transaction.
Hope this helps.