Continuing the discussion from How do I use the voice recognition?:

Can somebody help me with the blocks for a to do list using a multi line text box using speech recognizers so that the previous to do is still there and it goes to next line on text box

you need a global List todolist.
when you got new message from speech recognizer add the result to the todolist, then show the todolist on some way, like in a Listview .

Continuing the discussion from speechrecognizer:

Do you have any help with this?

] Create an app with :
a. a main title of “Question 2”
b. a Button that starts the Speech Recognizer
c. a global list named ToDoItems
d. When the user clicks the button, they can then speak and add an item
to the ToDoItems list. HINT: Join together the current ToDoItems, the
new result just spoken and then the string "/n" , which creates a new
e. Display ToDoItems on the screen in a multi-line text box.

What have you done Zachary? This request appears to be home work. We will help but not do this for you.

a) easy
b) use a Button.Click event handler
c) Create your List with a name ToDoItems
d) use the Add items to list Block
e) this can be done using a Text Block, no need for a multi-line TextBox.

Here are some resources to help you learn to use the AI2 tools and build this app. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps

How to do a lot of basic things with App Inventor are described here: How do you...? .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | Imagnity for more tutorials

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

A puzzle with the Blocks you probably will need.

Im still confused on how to make the list go to the next line

Use a ListView component instead of a textbox. It will be easier for you to work with lists.

show a block image of what you have coded so far and someone will provide advice. How you 'make the List go the the next line' depends on how you coded and added to the List. You probably will use a join Block with a \n in a Text block.

If I am being asked to use a multiline text box that is different from a list viewer

1 Like

OK you made some progress :slight_smile:


remember to set the TextBox to multiline in it's Properties or with a Block.

or you could use "join items using seperator " block:

Thank you for both of your insight!

2 posts were merged into an existing topic: Getting error No address availaible

2 posts were merged into an existing topic: Getting error No address availaible