ExerciseW17|interface and application programming|May 18
This week I tried to project on web app for to command the relays, for to domotic app.
I created one code that use some pins (4,5,6,7). The program receive the command from html page and transform it in Arduino command (HIGH, LOW).
The HTML page incorporated inside the Arduino’s code.
The web app has the simple buttons for to control the relays. I upload the program on Arduino and I mounted one lamp on the relay.
I tried the html page before with my PC and after with my iPad, and, how you can see on the video, it work well.
The First Simple web app.
After that, I tried to do one page more useful, with multi touch buttons, and to create the app for smartphone.
Web app on computer's browser.
Here you can try in real time the web app on your computer.
For this, I used Phonegap and jQuery Mobile.
I started to the framework of both. I had to modify the CSS and JS files. I chose the I/O slide button of jQuery Mobile. In addition, I created the icon of app.
After many attempts, I created one zip file and I upload it on the phonegap website, for to make automatically app for iOS, Android and Windows app.
My web app on Phonegap build site.
However, I saw that the iOS app it isn’t possible to make because I must have the Key.
I tried to use the smartphone of my girlfriend (Windows Phone) for to try it. I scan the Qr code, I downloaded the app, but when I try to install it doesn’t work! Therefore, I can use it only on the browser.