Php code to receive a StringBody from android?
<pre><code>entity.addPart("uploadedImage", new ByteArrayBody(data,"Image.jpg"));
</code></pre>

<p>To use the above image file I sent from android to php I use <code>$_FILES['uploadedImage']['name'];</code></p>

<p>Can Anyone show me an example of how to do the same with a StringBody sent from android -</p>

<pre><code>entity.addPart("ImageTitle", new StringBody(caption.getText().toString()));
</code></pre>
