Voice Calculator

Hello everyone.
I was working on the voice calculator on MIT App Inventor. But it kept on saying "I can't understand your questions.





The codes above are the codes I used. Please can could be the issues

why some blocks are orphan blocks? they should be in event or in procedure.

and you logic is not right: since your numberList contains number only, why you test if it contains multiplicationIntent?

1 Like

Please read CH. 21 of
http://www.appinventor.org/book2

to learn how to define procedures and pass data in and out of them.

@ABG @Kevinkun
These are the codes I have now





and i still have the same issue.

What about providing an example for UserTextLabel.Text, so we know, what the speech recognizer understood?
Taifun

@Taifun The UserTextLabel.Text is supposed to write out the calculation you are meant to solve

image

You should be looking for a multiplication command in the speech result, not in the number list.

@ABG thank you, I got where the mistake is.

1 Like