Tizen provide the input delegator as common app control.
I try to launch input delegator app-control using reference guide code snipet as below.
var appControlData = new tizen.ApplicationControlData('http://tizen.org/appcontrol/data/input_type', ['input_voice']);
var appControl = new tizen.ApplicationControl('http://tizen.org/appcontrol/operation/get_input',
null, 'text/plain', null, [appControlData], null);
tizen.application.launchAppControl(appControl, null, function() {
console.log('launch application control succeed');
}, function(e) {
console.log('launch application control failed. reason: ' + e.message);
}, null);
But the request failed with below error message.
"launch application control failed. reason: No matched application found."
I tried it on wearable 2.3.2 / 3.0 emulator and Gear Sport target (Tizen 3.0.0.2). The results were all the same.
How can I use input delegator?
Is not it supported on the device?
Aucun commentaire:
Enregistrer un commentaire