03-30-2010 12:04 AM
I have developed a widget that utilizes google gears and the gears_init.js file as the method to use sqlite. I am able to load and see the widget work on the 8530 simulator, however it looks like the sqlite database is not being created and all I see are my html pages.
Does anybody know what could be wrong? I also deployed the app to my physical 8530 device but experience the same problem. I am running OS 5.0.0459 and Google gears version 0.5.0.0.
Any help is appreciated.
Solved! Go to Solution.
03-30-2010 07:26 AM
Do you have an SD Card inserted into the 8530? Gears SQLite databases require either an embedded eMMC card (typically found in a Bold or Storm) or an inserted SD card to store the database data.
03-30-2010 09:31 AM
I just tried it with an sd card and it works now - Thanks!
I am experiencing another problem when I'm doing 40 insert statements, I receive an "out of memory" error and only a few insert statements are processed. My sd card that I inserted is 1gb and its completely empty.
In my widget, do I have to specify for it to us my sd card?
03-30-2010 10:26 AM
Make sure that when you are done with any record set that you explicitly close it. If you don't explicitly close your record sets it will cause a memory leak.
Do a quick check to see if your code is closing your record sets. The signature of your error sounds like this could be the cause.