sending both audio file and values from android to server
<p>i know for uploading audio in android, i can do like this :</p>

<pre><code>final byte[] data = out.toByteArray();
String urlString = "http://localhost/voiceupload.php";
HttpPost postRequest = new HttpPost(urlString);
postRequest.setEntity(new  ByteArrayEntity(data)); //data is a byte array containing sound in the form of bytearray
HttpClient client = new DefaultHttpClient();
</code></pre>

<p>for uploading simple values i can do like this :</p>

<pre><code>ArrayList&lt;NameValuePair&gt; postParameters = new ArrayList&lt;NameValuePair&gt;();
postParameters.add(new BasicNameValuePair("callid", "8123069127952"));
UrlEncodedFormEntity formEntity = null;
try {
formEntity = new UrlEncodedFormEntity(postParameters);
} catch (UnsupportedEncodingException e1) {
  e1.printStackTrace();
 }
httpPost.setEntity(formEntity);
client.execute(postRequest)
</code></pre>

<p>Now i want to send both in one post request.I mean i want to send one or more variable values and one sound file.Can i do this ?</p>
