언어 설정

Menu
Sites
Language
Retrieving the data from the existing Database

Hi,

      I'm trying to getting the data from database. I used both webSQL and IndexedDB but both are not working. I'm using 2.2.0 Tizen SDK. Is webSQl andd IndexedDB works in Tizen SDK 2.2.0.

 

Thanks in Advance.

 

 

Responses

5 댓글
talari praveen kumar

Hi Lakshmi

In web applications you can create and use database using webSQL, but there are no APIs to use the existing database. You can read the existing database using native APIs.

Lakshmi Grandhi

Hi,

 

The format of database created using sqliteman or using sql commands are different when compared to web databases.  The database in webapplication are stored under folder

/opt/usr/apps/spMAVBRRLx/data/.webkit/databases/file__0, where "spMAVBRRLx" is the application id, Web Application can read databases which are indexed in database file.

 

 

 

 

Lakshmi Prathyusha

Hi lakshmi Grandhi,

I'm unable to find that location. Can you suggest me where is that location exactly.

Thanks & Regards

Lakshmi Prathyusha.

 

Lakshmi Prathyusha

Hi lakshmi Grandhi,

I'm unable to find that location. Can you suggest me where is that location exactly.

Thanks & Regards

Lakshmi Prathyusha.

 

Lakshmi Grandhi

open the sdb shell and login in as super user using "su-" command then type cd /opt/usr/apps/spMAVBRRLx/data/.webkit/databases/ where ""spMAVBRRLx""  is the app  your application , database will be created if you use application created database using api mentioned in the tutorial http://www.tutorialspoint.com/html5/html5_web_sql.htm