I'm new to this Wifi module, I have been able to establish the connection between my Android app and ESP8266_12 module. But I want to use one button to turn on/off the LED connected to the GPIO pin of wifi module. I have achieved this connection using HTTP. and the example I followed was http://android-er.blogspot.in/2015/05/android-app-to-control-arduinoesp8266.html. I have been trying to use the toggle button button I'm not able too. Please provide me with snippet to achieve it.
Thanks in advance for help