Page 1 of 1

Controlling an ESP32 with an android app

Posted: Fri Jan 22, 2021 10:26 pm
by Leo6002
So I have been trying to make an app that can control gpio pins on esp32, but I can't make it so that the webpage loads in the background(currently it opens a new chrome webpage), I have also tried using Webview but that doesn't work. Someone, please help.

MainActivity code: https://pastebin.com/U7HGx1SC

Manifest: https://pastebin.com/JPx3fdDQ

activity_main(xml): https://pastebin.com/2d6wswrd

Thanks in advance!