언어 설정

Menu
Sites
Language
create database issue

I want to create a new db use openDatabase and I get SecurityError like this:

http://i1344.photobucket.com/albums/p654/tattoowu/db-error-2_zps57b3ca19.png

so if any ideas,

Can I pause my web app running  when creating db ,and go on when user choose yes or no?

and how can I know user choose which one?

or can I settings "yes" as default (means I have the privilege  to create the db without notify user)?

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

5 댓글
Lakshmi Grandhi
Hi, If user has selected "no" the OpenDatabase throws an exception, else it will create database. You have to add below privilege then alert won't be seen http://tizen.org/privilege/unlimitedstorage"
tattoo wu
as the dialog popup,I get an exception,before user selects,my app is dead. and in my ide I have no "unlimitedstorage" privilege,my version is 2.0.0 http://i1344.photobucket.com/albums/p654/tattoowu/db-limite_zps21f745e8.png and I add "http://tizen.org/privilege/unlimitedstorage" to config.xml ,the icon is diff with other and I also get the alert.
Lakshmi Grandhi
Hi tattoo, The above privilege is defined in SDK 2.1
tattoo wu
It means that there is none of other way to resolve the db problem on tizen 2.0.0 or earlier?
Marco Buettner
Update to 2.1 and you resolve your problem. Consumer devices will be release only with 2.1 or above.