开发者

Is it possible to create a HTML 5 application with offline storage to work on Blackberry?

开发者 https://www.devze.com 2023-02-06 04:51 出处:网络
Hi would anyone know whether it开发者_运维技巧 is possible to create a HTML 5 application with offline storage to work on Blackberry?If you\'re asking about an application running on the phone nativel

Hi would anyone know whether it开发者_运维技巧 is possible to create a HTML 5 application with offline storage to work on Blackberry?


If you're asking about an application running on the phone natively but written using HTML5 and Javascript, look into the WebWorks/Widget platform. It runs on Blackberry OS versions 5 and 6.

If you want to have a web site/app that uses HTML5 offline storage, it will probably only work with Blackberry OS version 6.

This guide can help in determining how much of the market is using those OS versions.


My Answer is Yes, You can, BB5 have a extra soft internaly to do that is GOOGLE GEAR that support SQLLite DB

 if (window.openDatabase){
        //HTML5
  }else{
     //try google GEARS
     if (window.google || google.gears){
        _DB = google.gears.factory.create('beta.database', '1.0');
        _DB.open('MyLocalDB');
        }

    }
0

精彩评论

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

关注公众号