Languages

Menu
Sites
Language
Does native service have access to web app's database?

Hi. I'm writing aa hybrid application (native service + web-app). Web-app will populate records into Web SQL database. Will native service have access to web-app's database and will I be able to read Web SQL database using Tizen SQLite API?

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

Responses

1 Replies
Raghavendra Reddy Shiva
To my knowledge, Tizen provides DataControl API, for exchanging specific data between applications. However,ONLY service applications can provide their own data. That means the data provider is a native application and the consumer is a web application (or can also be a native consumer). I don't see any methods exported from web application (as "provider") to export specific data to native. Refer below to know more on DataControls, https://developer.tizen.org/help/topic/org.tizen.native.appprogramming/html/guide/app/data_controls.htm If your data is of the key-value pair form, then message port API can also help sending and receiving messages between applications.