title: bitmap to file that can be uploaded via async
body: <p>After a day of headaches due to previous problems implementing a working photo upload system I feel im in the home stretch. my last and final step is to allow my users to upload a image once it has been cropped. </p>
  
  <p>after cropping takes place I have access to a bitmap and a imageView that is using the bitmap.The async request lib im using is : <a href="http://loopj.com/android-async-http/" rel="nofollow">http://loopj.com/android-async-http/</a></p>
  
  <p>and the api im using is setup in such a way that i need to send over a "file" like so:</p>
  
  <pre><code>File myFile = new File("/path/to/file.png");
  RequestParams params = new RequestParams();
  try {
      params.put("profile_picture", myFile);
  } catch(FileNotFoundException e) {}
  </code></pre>
  
  <p>What are my options for turning my bitmap into a "file" </p>