I have copied the Android project from below mentioned location:
http://groups.google.com/group/phonegap/browse_thread/thread/07cf9f48e3cd0663
I have created a SQLite database on my system, now I want to use the same database in my project. But, I want to connect to the database using Javascript (not using Java). Can any one 开发者_Python百科of you give me some tips or any reference to achieve this task.
If you are referring to javascript running in your browser you won't be able to do that.
A sqlite database is a file on your file system. Javascript which runs in browsers has no, or very limited, access to your file system.
However, modern browsers (and probably most modern mobile browsers as well) do allow you access to the IndexedDB storage API which is a SQL database running on the client and available to your website.
精彩评论