How can I directly insert a bitmap image instead of its existing path in MultipartEntity?
<p>This is what I have so far:</p>

<pre><code>MultipartEntity reqEntity = new MultipartEntity();
String strXMLFilename = "/sdcard/image.gif";
FileBody bin = new FileBody(new File(strXMLFilename));
File file = new File(bin);
reqEntity.addPart("file", bin);
</code></pre>
