I was just looking for an answer to this topic “How to connect to Spark Cloud and pass info from smart device” wherein my question was, Is it mandatory to use and Android API as a user interface for a user control interface. It was another person who asked me to explain in detail concerning Arduino being controlled via HTTP.
Yes, HTTP being the Ethernet Library of all things being easy example code:
HTML Page link --> <! http://192.168.2.176/?button1on’" value=“LAN ON”>
Arduino IDE Code --> client.println("<! a href="/?button1on"">ON");
if (readString.indexOf("?button1on") >0){
digitalWrite(led4, HIGH);
= Go High on Pin 4 via a HTTP Request. Very Basic Anyone can do this. Very Few are Android API Programmers.
This option is also possible in the Arduino Wireless Library as well.
Regardless, I will open a new topic.
Thanks,
Bobby