Backendless.Files.Android.upload(Bitmap) - Uploadcallback?

Backendless.Files.upload comes with a Uploadcallback to indicate upload percentage done, Backendless.Files.Android.upload doesn’t.

Android.upload comes with the opportunity to compress the bitmap before uploading which is nice. If I want to achive this with the file upload function I would need to create a second file (like Whatsapp does and it’s really annoying to always have 2 files on the phone).

Any chances adding the upload listener to the bitmap Upload func?

Take a look at how Backendless.Files.upload with UploadCallback works (line 72): https://github.com/Backendless/Android-SDK/blob/master/src/com/backendless/Files.java

You should be able to adapt the same approach to upload of bitmaps. If you’d like to fork the repository and then send a pull request, we would welcome the change. There is a reason why SDK is open source - we’d love the community to get involved.

Regards,
Mark