What code should i use in raspberry pi using python to implement this. I have done the client part.I have installed apache/php/mysql in my pi. What framework should i use here. Besides what part am i missing.I need to read/write to sensors through my pi. I have made an api hosted in a site which i have successfully tested in my app. Now i need to implement this in my pi remotely.
P.S.I don't know nothing about my pi.Should i write all my code in python(I prefer java), what libraries should i be using.
I'll just add that to use Python with Apache you'll have to enable mod_wsgi or mod_python or just write a standard CGI or FastCGI script.
I think bottle/flask supports all methods.
There is somewhere compiled JVM with support for hardware floating points, and that version should work a little better.
But, well, Raspberry Pi and Java aren't exactly friends.
I admit, it is a little odd, because we know that Java works perfectly fine on ARMs (e.g. Android), but current state for RasPi is as it is.
I want to make a remote webserver using raspberry pi contrplled by android app