I need help regarding my application that I made can’t be opened. When the test mode via connect to the companion application, the application runs normally, but when it is downloaded the application cannot be opened.
I want to make a web request when the button is on and off, but the web request varies from one button to another. I’m asking for concise program code suggestions
Then get the index of the button clicked and the image name..
Create two more global
One variable for ON button with required web url lists likewise for OFF
Now when any button clicked get the index and get the name of the picture. If the picture contain the text ON get the web url from the ON variable using select list item list likewise get the web url for OFF button clicked
like this program that I will make.
when button 1 is pressed then set web url to light 1, when button 2 is pressed then set web url to light 2. and so on.
A very good way to learn App Inventor or Kodular 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...? .