Android: Uploading a photo in Cloudinary with progress callback in HttpURLConnection
I'm trying to modify the open source library of cloudinary so that I can listen to the progress of the upload of my photo. The library class contains a MultipartUtility java class that I modified to listen to the progress of the upload. The original code before modifications can be found on github: https://github.com/cloudinary/cloudinary_java/blob/master/cloudinary-android/src/main/java/com/cloudinary/android/MultipartUtility.java I literally modified it to resemble the code from another cloud service CloudFS that supports progress when uploading files / images etc: https://github.com/bitcasa