How to make the app respond to external input?

Hey guys!
I'm currently trying to get the app to respond to external input, and unsure as to how to go about it. To briefly summarize, I have a UART code on an external device that will send 2 bytes when a button on the device is pressed. I want the app to then show some sort of notification that it's received the specified input. For example, when Button 1 on the external device is pressed, I want the app to show a notification that clarifies Button 1 has been pressed, the same for Button 2, Button 3, and so on. There should be no input on the app required, just a response.
Does anyone have any ideas? Thanks for your help!


Input from what? The community has lots of examples getting data from an Arduino or similar devices. Here is a search of the community (use the magnifying glass in the upper right of this screen for your own search) . You might search for the device you use; you might get lucky.

This is possible.

Here are some resources to help you learn to use the AI2 tools to get the response you want using App Inventor. There are many ways to do what you need depending on how App Inventor captures your bit data.

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook ... 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 and the aia files for the projects in the book are here:

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

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