views:

21

answers:

0

I am having trouble getting SQLite to work with my BlackBerry widget.

I found a demo online, and I tried to copy it, but it didn't work as well.

I put bits and pieces of information together, but somehow I can't get things to work properly.

Fist of all:

<script type="text/javascript" src="/js/html5_init.js" id="html5_init"></script>
    <script type="text/javascript" src="/js/html5_worker.js"></script>

what is the purpose of this? to make html5/gears work in version 5.0?

Second of all, I found this in the sample code

<script src="http://www.google.com/jsapi?key=ABQIAAAA1o74CLmvcPnl2Fbx4sOymBQfEs8_TczC0WHTxzaWv64C1qm3GBTO0qQp2PNQ..." type="text/javascript"></script>  
<script src="Scripts/action.js" type="text/javascript"></script>
<script src="Scripts/gears_init.js" type="text/javascript"></script>

I see that it's implementing google js api, action.js, gears_init.js.. Do I need all of those to make it work? If yes, it wouldn't work offline?

Lastly, I can't find working sample code for SQLite, and all the articles on the net are jumbled up saying stuff like "google gears deprecated"