Search code examples
androidamazon-web-servicesamazon-s3file-upload

multiple files upload with progress bar using Amazon in android


I am using Amazon library to upload single file to server. I am using this code to upload single image, but now i want to upload and pass multiple files in UploadService service.

I checked inside UploadService class and inside this service class, they are using following code to start upload.

uploader = new Uploader(this, s3Client, s3BucketName, s3ObjectKey, fileToUpload);

Here fileToUpload = file path of single image.

Did anybody use this same service and uploaded multiple files? Help would be appreciated.

Thanks in advance.


Solution

  • I have spent couple of days on this and finally got something interesting. Here is amazon s3 lib which provide multiple upload with resume and cancle functionality.

    https://github.com/awslabs/aws-sdk-android-samples

    Let me know if you face any issues.