We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I've got a java web application and a postgresql database. I'm trying to figure out how to send data from an Android Processing application to store in the database on the web server.
I figured the best way would be to use an HTTP POST request with JSON for server commands to update the database.
I'm having trouble sending an http POST to the server from Android Processing application. What's the best way to send an http post (where the post content is a json string)?
I'm also more than open to additional ideas on how to get data from the Android application to the database on the web server. It's mostly accelerometer data…
Help..?
Answers
Have you to tried JSON library for processing ? http://www.processing.org/reference/JSONObject.html
I suggest to use the search feature of the site: https://www.google.com/search?as_sitesearch=processing.org&as_q=http+post