you need to convert it to an array of bytes, and then in your Bundle you need to pass this ByteArray, like this
Bundle postParams = new Bundle();
Bitmap bmp = "your bitmap";
ByteArrayOutputStream stream = new ByteArrayOutputStream();
bmp.compress(Bitmap.CompressFormat.PNG, 100, stream);
byte[] byteArray = stream.toByteArray();
postParams.putByteArray("images", bytearray);
finally you need to install this
Request request = new Request(session, "me/photos", postParams,
HttpMethod.POST, callback);
source
share