02-15-2012 10:17 AM - edited 02-15-2012 10:18 AM
The answer is in RIM's very well documented developer website:
Localstorage might be easier to use:
02-15-2012 11:36 PM
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 ?
02-16-2012 08:16 AM
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.
02-17-2012 05:09 AM
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..
02-17-2012 08:07 AM - edited 02-17-2012 08:16 AM
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
02-20-2012 08:59 AM