send audio file and string data to server from android
<p>I want to send audio file and some string data to server from android and I am using the same as given in this link (<a href="http://stackoverflow.com/questions/7037717/upload-an-image-and-audio-in-one-request-in-android">upload an image and audio in One request in android</a>), but I am getting the error where I am adding the data.</p>

<pre><code>entity.addPart("title",new StringBody("hello"));
</code></pre>

<p>I have already add <code>httpmime-4.0.jar</code> and <code>apache-mime4j-0.4.jar</code> files through build path.</p>

<p>How can I do the code error free and send audiofile and data to server?</p>

<p>Thanks.</p>
