在 android 中使用 Amazon 使用进度条上传多个文件

multiple files upload with progress bar using Amazon in android

我正在使用亚马逊库​​将单个文件上传到服务器。我正在使用 this code to upload single image,但现在我想在 UploadService 服务中上传和传递多个文件。

我检查了 UploadService class 和这个服务 class,他们使用以下代码开始上传。

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

这里fileToUpload=单张图片的文件路径。

有没有人使用同样的服务并上传了多个文件?帮助将不胜感激。

提前致谢。

我在这上面花了几天时间,终于得到了一些有趣的东西。这是 amazon s3 lib,它提供具有恢复和取消功能的多个上传。

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

如果您遇到任何问题,请告诉我。