Transfer data from Arduino to Android via ethernet shield

Hello

I am new to Arduino and I am working on a project that monitor the reading from a car through OBD-II and show it in Android App.

The problem is what code i have to write in the Arduino so i can send it to Android app.

thanks in Advance

If the arduino is to send information via ethernet, then you probably would use ethernet client code on the arduino and some type of server code on the android to receive the information. Possibly more practical would be to have the arduino act as a web server and supply the info to a web browser running on the android.

I dispay it in a webpage by writing a xml code inside the arduino code, but the project i am working on is to display the result in android app.

from a car through OBD-II and show it in Android App.

Not clear what exactly your connections here between your Android and your Arduino!

Anyway If you want something simple without any additional programming skills on Android you can connect your Arduino to Android via USB and use terminal command as "Serial Monitor" from your Android Device allot of apps there at AndroidStore to display all data you need.
by using this command on your Arduino "Serial.println"

Serial.println(anything you want);

هلا عمي