Is it possible to create a HTML 5 application with offline storage to work on Blackberry?
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');
}
}
精彩评论