Safest way to exchange data between java android app and PHP script?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2259438/how-to-implement-communication-between-java-client-application-android-and-php">How to implement communication between Java client application (Android) and PHP server application?</a>  </p>
</blockquote>



<p>I'm busy with a project. My android app needs to request server info from time
to time. </p>

<p>The solution i came up with was to write a php script. 
But how do you let the android java app communicate with the PHP script ? </p>

<p>I was thinking about something with a post/get request and the php script
returning a html file with strings ? </p>

<p>Would love some advice, thanks in advance :)</p>
