title: Android Facebook SDK Progress Bar during upload
body: <p>I am trying out the FB SDK and I was wondering if it is possible to attach a progress bar while  data is being uploaded. </p>
  
  <p>This is a sample example on how FB tells us to do.</p>
  
  <pre><code>ByteArrayOutputStream bos = new ByteArrayOutputStream();
  me.compress(Bitmap.CompressFormat.JPEG, 100, bos);
  params.putByteArray("picture", bos.toByteArray());
  mAsyncRunner.request("me/photos", params, "POST", new SampleUploadListener(), null);
  </code></pre>
  
  <p>The issue is that you are forced to use a byte array instead of an output stream which you could combine with a progress bar</p>
  
  <p>One alternative I can imagine is to modify Utils.java from the FB SDK but I would rather like to ask if someone had success implementing a progress bar without massing around in the facebook sdk? </p>