Android Question Voice Recognition Commands??

giga

Well-Known Member
Licensed User
Longtime User
Can the voice recognition class work from commands? or is there a library I can use?

Example: You verbally say the words "create file named test" and it is able to create the file in a designated area. or if you say "skip this item" it is able to go past an item.

Any guidance appreciated.

Thanks to ALL.
 

LucaMs

Expert
Licensed User
Longtime User
You should use your own system.

Always use the same structure for the voice commands:

for example: [Command] [subject] [Other]
([Create] [File] [FullPathName])

Divide the recognized text (Split)

and create the code for execution, according to the command and the rest.
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
Just to let you know, it is not really necessary to use that library, you can do it with B4A VoiceRecognition as well; I posted that link to show you that you can create your own commands (regardless of what library you use), another example is one of my apps Road Sidekick, on that app I just use the B4A voice recognition lib.
 
Last edited:
Upvote 0
Top