Android (Java) Simple Send and recieve with Server - Fast Setup Challenge
<p>I'm writing an Android App and I'm looking for the fastest (In terms of setup) way for me to send data to a server and receive information back on request.</p>

<p>We're talking basic stuff. I have a log file which tells me how a user is using my application (In beta, I wouldn't runin a user experience by constantly logging usually) and I want to communicate that to my server (That I haven't setup).</p>

<p>I don't need security, I don't need high throughput or concurrent connections (I have 3 phones to play with) but I do need to set it up fast!</p>

<p>I remember back in the day that setting up XAMPP was particularly brainless, then maybe I could use PHP to send the file from the phone to the Server?</p>

<p>The Server would ideally be able to respond to a GET which would allow me to send back some SQL statements which ultimately affect the UI. (It's meant to adapt the presented options depending on those most commonly used).</p>

<p>So there you have it, I used PHP about 4 years ago and will go down that route if it's the best but if there's some kind of new fangled port open closing binary streaming singing and dancing method that has superseeded that option I would love to know.</p>

<p><a href="http://developerlife.com/tutorials/?p=288">This tutorial</a> seems useful but I don't really need object serialization, just text files back and forth, compressed naturally.</p>

<p>Android comes with the <strong>Apache HTTP Client 4.0</strong> built in as well as java.net.URL and java.net.HttpUrlConnection, I'd rather not add too much bult to my App with third party libraries.</p>

<p>Please remember that I'm setting up the server side as well so I'm looking for an overall minimum lines of code!</p>

<p>Thanks,</p>

<p>Gav</p>
