Native Android App For ESP8266 Projects (LED Toggle)
Posted: Sun Mar 01, 2015 7:08 pm
I made a native Android app I hope you find useful, it HTTP's to the ESP module and gets back the state of the LED. In this video I use it to toggle an LED:
The app code is here https://github.com/AllAboutEE/Android-App-HTTP-Helper
In the video I use an Arduino but of course you don't need one. All I do is look for the "pin=" string in the GET request from the app, then read the next character which will be the pin number and toggle that pin. Then to reply back to the app I send an HTTP request with the data I want to display in the dialog which in this case is the state of the LED.
The app code is here https://github.com/AllAboutEE/Android-App-HTTP-Helper
In the video I use an Arduino but of course you don't need one. All I do is look for the "pin=" string in the GET request from the app, then read the next character which will be the pin number and toggle that pin. Then to reply back to the app I send an HTTP request with the data I want to display in the dialog which in this case is the state of the LED.