Android Processing -- HTTP POST with JSON

edited April 2014 in Android Mode

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..?

Tagged:

Answers

Sign In or Register to comment.