Skip to content

Instantly share code, notes, and snippets.

@benlieb
Created April 20, 2013 00:53
Show Gist options
  • Save benlieb/5424233 to your computer and use it in GitHub Desktop.
Save benlieb/5424233 to your computer and use it in GitHub Desktop.
com.amazonaws.services.s3.transfer.Download download = tx.download(s3obj, new_video_file);
download.addProgressListener(new ProgressListener() {
public void progressChanged(ProgressEvent pe) {
String progress = download.getProgress().getPercentTransfered() + "%";
Log.v("dev", progress);
if (pe.isDone()) {
Log.v("dev", "download complete!!!");
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment