Database on the SD Card without using a computer!

Good Day!

I’m doing my work Completion of course and make it a system that accesses theAndroid Arduino via a web server for now that the SD Card. In case the Android application that accesses the server sends the request to the Arduino.

My difficulty is that to read the status of a port of the Arduino (eg to check your circuit isan open or closed).

In this project does not want to use the computer, which is complicating me, because I wanted the system had a database where you inform all communication system. Whatcould this not the case in Android because the system can be in more than one unit. I wanted to put the bank embarked on the SD card, but so far have not found means.Can anyone help me on these problems?