I have an Arduino Mega board. I've connected the WiFly module to it and established connection with my Android phone. Now I want to make a simple app for my Android, where I press a button and the LED on the Arduino board turns on.
In fact, I've already made an app (in Eclipse) with a button, and if I press it, I get a toast message saying the button is pressed. Now, how do I implement the Wi-Fi functionality to it and enable it to light up the Arduino's LED?