Languages

Menu
Sites
Language
Data control error

​Hi, I try to use the data control but I always get an error. I've added the http://tizen.org.privilege/datacontrol.consumer privilege and I am using the following code from the guides:

try {    var globalSQLConsumer = tizen.datacontrol.getDataControlConsumer("http://tizen.org/datacontrol/provider/DictionaryDataControlProvider", "Dictionary", "SQL"); }

 

​All I get is the following exception :"UnknownError: Failed data_control_map_register_response_cb() : I/O error, -5
"

 

What am I doing wrong?

 

 

 

Responses

5 Replies
André Reus

Are you using it for Gear ? 

Philippe Wechsler

yes, for wearable 2.3.2

André Reus
Philippe Wechsler

This is outdated, see https://developer.tizen.org/development/guides/web-application/application-management/application-data-exchange/data-control#prerequisites
Its supported on mobile 2.4 and Wearable 2.3.2

 

Iqbal Hossain