Languages

Menu
Sites
Language
External data base

Hello,


I am new to Tizen developement and I wanted to use external data base .

how can i do it ? CRUD on this db.

 

 

Please Help .

Thank you.

Responses

2 Replies
AVSukhov

Hello,

Tizen support only Indexed DB:

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.web.appprogramming/html/guide/w3c_guide/storage_guide/indexed_database.htm

and Web SQL:

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.web.appprogramming/html/guide/w3c_guide/storage_guide/web_sql_database.htm

Tizen doesn`t support PHP or anything else.

Seoghyun Kang

As AVSukhov's comment, you can use the WebSQL and Indexed DB on the web platform.

But I remember that Tizen web platform offers different database for each profile.

 

If you use the mobile profile, you should use the WebSQL.

And if you choice the wearable profile, you need to use the Indexed DB.

 

You can check whether DB support.

 

if (window.openDatabase) {
    // TODO (WebSQL)
}
else if (window.indexedDB) {
    // TODO (Indexed DB)
} 
else {
    // TODO (No DB)
}

 

The sample application about the database will be released on the next SDK.

If you need the some sample code, I will post it to the forum.