Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 17
Registered: ‎02-13-2012
My Device: BOLD 9900
My Carrier: Airtel
Accepted Solution

what are the databases we can use with html5 in playbook

which is the better database used with html5 in playbook 

Developer
Posts: 59
Registered: ‎10-31-2011
My Device: JDE
My Carrier: JDE

Re: what are the databases we can use with html5 in playbook

[ Edited ]

any one...... please help

Regards
Ratheesh R Kurup
Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: what are the databases we can use with html5 in playbook

[ Edited ]

The answer is in RIM's very well documented developer website:

https://bdsc.webapps.blackberry.com/html5/apis/Database.html

 

Localstorage might be easier to use:

https://bdsc.webapps.blackberry.com/html5/apis/localStorage.html

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Developer
Posts: 268
Registered: ‎08-19-2009
My Device: Bold 9700

Re: what are the databases we can use with html5 in playbook

Use localStorage without a doubt.

Contributor
Posts: 17
Registered: ‎02-13-2012
My Device: BOLD 9900
My Carrier: Airtel

Re: what are the databases we can use with html5 in playbook

thanks for your reply,

 

i think HTML database is good, because I want to use this application on smart phones also

 

I have some doubts about HTML Database, Where it is physically stored ? on SD card ? Is there any encription possible on it ?

Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: what are the databases we can use with html5 in playbook

Databases are stored in the app's container, but unfortunately, are not encrypted. Don't store any key, secret, etc. in your app or a database without encrpyting the data somehow, as anybody with a PlayBook will be able to extract the information due to an implementation defect that RIM has failed to fix so far.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Contributor
Posts: 17
Registered: ‎02-13-2012
My Device: BOLD 9900
My Carrier: Airtel

Re: what are the databases we can use with html5 in playbook

app's container is on phone memory right ?

 

if it is in app's container , how others can extract the information ?

 

I think, if the database is stored in the app's container only that application can access the data..

Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: what are the databases we can use with html5 in playbook

[ Edited ]

Because if a user makes a backup of your app, he has access to all your scripts, assets, config files, databases, password, etc. Basically everything that you put in your bar file or that you save locally.

An ill intentioned user could easily block most of the Twitter apps released on the PlayBook by just publishing the key on a public forum. RIM needs to step up their game if they want to attract more serious devs that don't do native. The problem has been described a long time ago: https://www.blackberry.com/jira/browse/TABLET-189

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Contributor
Posts: 17
Registered: ‎02-13-2012
My Device: BOLD 9900
My Carrier: Airtel

Re: what are the databases we can use with html5 in playbook

thank you,

 

one more doubt is , can we use sqlite with HTML5 ?

Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: what are the databases we can use with html5 in playbook

If you use localstorage, which is very easy to use, then the backend is going to be sqlite. 

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.