Languages

Menu
Sites
Language
Web App Upgrading database issue

Hi,

App is running fine after first installation.

second time we get a database error while upgrade the app.

in which way we can  solve this issue?

 

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

Responses

3 Replies
Marco Buettner
Update your appversion and install the wgt manually on the device, after that the user data available.
Vipin KA
Hi Marco Buettner, Thank you for your reply, I changed the app version and install the app manually,but at that time i got this error. "Message( 7925): unable to open database, failed to start transaction (8 attempt to write a readonly database) wgt/src/db/db_helper.js (533) :InvalidStateError: DOM Exception 11: An attempt was made to use an object that is not, or is no longer, usable. Message( 7925): unable to open database, failed to start transaction (8 attempt to write a readonly database) wgt/src/db/db.js (10) :InvalidStateError: DOM Exception 11: An attempt was made to use an object that is not, or is no longer, usable." how can i fix this issue?
Marco Buettner
How do you install manually? You don't have to use Run As -> Tizen Web Application. Copy you wgt file via SDK to opt/media/ and start on the device "my files" and tap on your wgt.