Thanks to visit codestin.com
Credit goes to github.com

Skip to content

onProgress not fired on put request #711

Open
@danpe

Description

@danpe

I'm using

FileEntity entity = new FileEntity(fileToUpload, mimeType);
Header[] headers = { new BasicHeader("x-amz-acl", "public-read") }; // For uploading to S3
getClient().put(mApplication, signedUrl, headers, entity, mimeType, new AsyncHttpResponseHandler() {
                @Override
                public void onProgress(int bytesWritten, int totalSize) {
                    // Displays the progress bar for the first time.
                    mNotifyManager.notify(notificationId, mBuilder.build());
                    mBuilder.setProgress(totalSize, bytesWritten, false);
                }
});

And onProgress not being fired.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions