Search code examples
androidapp-inventor

How can I call a web page in App Inventor?


I made a PHP code which will turn off and on led. http://x.x.x.xx/va.php?on=ON (LED will turn on) http://x.x.x.xx/va.php?off=OFF (LED will turn off)

and also two buttons for ON and OFF in App Inventor.

This link How can I open a web page in App Inventor shows perfect solution on how to open a web page.

But what I want is whenever I click ON, it will call the PHP without go to the PHP page directly. How to do that?

Thanks


Solution

  • Ok. I solved it by simply referring on youtube. Here is the blocks that should be put in App Inventor.