Hi,
so I tired to implement Voice Control in a super simple test App for the first time. Inside Tizen's developement guides there is a huge page dedicated to that topic: https://developer.tizen.org/development/guides/native-application/text-input-and-voice/voice-control#info
I went through all of it
- set up the controls
- registering callbacks
- prepare controls
- add command list
- register callback
- do all the other way around when done
So right now Icollect every single return value and display it inside the edje layout that is used as my front end... and everything returns a 0.
Works good so far (they should hint that you need recorder privilegues at that guildine site btw.), but... that about everything that happens. All functions are done in their required VC state, an elm_button (swallowed inside the ejde) is used as the vc command'S target, the command has been set to "click" to match its possible actions, the language in use (en_us) and available (en_us and Ko) had been verified.
But no matter how loud I do scream, the app wont even start the recognition callback. I'm kind of sure that it wont work, because I placed a signal emitter inside it, which signal will make the edje layout change its color (because debugging at my smartwatch does just not work... as it doesn't with the emulator in tizen studio 2.4, but thats another story).
I even made sure the real Dixby is usable (which requires web connection) and retried it, when Dixby returned the current weather (way to hot, btw.). Nope.
So.. When all functions used return 0, no errors appear and everything looks like it should work... why doesn't it? And for something as powerful as the Voice Control, there is an grand lack of code snippets or full scale C code examples of a working implementation around here. I somehow expect that I made some mistakes which could has been averted like the "you'll need recorder privilegues, or you'll get -13 during the initial setup", which I somehow didn't spot at the guild site.
Is there an example that workes around here somewhere? If nothing else, I will post my code here, but the source file has become rather big and unhandly to read, so I will avoid this until there is no other option left....
Ah... cannot upload .c files as an attachment? seriously? Well, fine, have it as .txt
Greetings