My name is Peter from the Netherlands and I'm new on this forum.I recently bought an Arduino Uno with an Ethernet Shield.Now I try to understand how it works by a to use variety of programs examples from existing projects.I am very interested in communication between the Arduino and my Android.Recently I've made something so I can switch an output on the arduino board by using my android .I used App Inventor to create an App for this.Now I'm trying to create a feedback signal from a digital input from the arduino board to my android.I understand that I have to use the "TinyWebDB1.GotValue" but I don't know how and .I need a working example with 1 digital input for my arduino and for my App Inventor please.In the app I have one button to switch an output and one label that indicates the status of the input (red/green for example)Can anyone help me with this problem ?

(With this message I attached the project code from the app and a screen print)

Yes and no...The arduino is ideal for domotica purposes.You can use it stand alone or let it interface with other devices.My question is how do I do that in the arduino software part and in the android app.I've seen a lot of examples in the internet and there are many ways to interface and it looks so simple but I can't figure it out how it's done with an android device.

OK, seriously now. Have you used the Arduino in a more traditional way yet? E.g., have you turned on LEDs and sent feedback from buttons via the IDE serial console? Try that first. Get the Arduino code working before you complicate it with Ethernet and Android interaction.

Then, try Ethernet, but use PuTTY (assuming Windows...) to establish a raw socket connection. Get your Arduino code to respond to socket requests, and send button event notification through a TCP connection.

When all that works, then go for the Android thing.

No doubt you'll have questions along the way, but it's a lot easier to help with specific problems than trying to go from square one to a relatively elaborate setup in one post.

BTW, holy cow ... how can people write code with that puzzle-piece thing?

I am familiar with the basics of the arduino (inputs and outputs) .Have tried several example programs who are included in the arduino application.Also I have dowloaded several projects from other programmers and tried to figure out how it works (reverse engineering).I have found a program to switch a led directly from my smartphone (see attachement).The switch status can be monitored with the Serial Monitor.Maybe I'm going too fast....?

If you want I can explaine why I need a feedback signal.(And sorry for my english. It is not my native language)

You're talking about code on the web client side, but you haven't gone into any detail on what's running on the Arduino. If you're using JSON, I assume you're planning to communicate via HTTP. Have you set up a web server sketch on the Arduino? Have you tried using a PC-based web browser to verify that it works?

You're asking very generic questions. You need to be much more specific about what you're hung up on.