开发者

When using Phonegap, can we deploy our sqlite db with the application and access it from within the application?

I am building out an app that will be used primarily by BB OS5. I am considering Phonegap, and I wanted to find out if we can deploy our sqlite db with the application and access it from within the application?

If so, is there a size limi开发者_运维技巧t on the database? and how is the performance?


@Ray Vahey, phonegap support OS 5.0+ not complete but in part...

You can use Phonegap + gears in your app in order to use storage on OS 5, for OS 6+ you can use the Phonegap API: http://docs.phonegap.com/en/1.1.0/phonegap_storage_storage.md.html#Storage


PhoneGap Database API requires BlackBerry WebWorks (OS 6.0 and higher)

But I would also like to point you to a toolkit that you may find useful in building a database backed webapp. Supporting Gears using HTML5 in BlackBerry WebWorks applications

The JavaScript® toolkit provides the following HTML5 interfaces as a simple layer on top of the Gears API’s currently available in BlackBerry Device Software 5.0:

  • Geolocation
  • Timer
  • Database
  • Worker
  • XMLHttpRequest
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜