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.
This is a sample example on how FB tells us to do.
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);
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
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?