Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
AWS.stuff
AmazonS3.cpp.uxl
AmazonS3.uno
AmazonS3.unoproj
MainView.ux
README.md
S3ImageDownloader.uno

README.md

Amazon Web Services Simple Storage Service download

This sample shows how to use Amazon Web Services (AWS) SDK through Foreign Code to download an image file from Amazon Simple Storage Service (S3) on both Android and iOS.

Setup

This sample will automatically download the AWS SDK for the platform it's built on.

You will need to configure S3 by following Amazon's getting started guide.

Once you have done that, you can fill in the details of your configuration in MainView.uno, where it says <MY-POOLID>, <MY-BUCKET>, and <MY-FILEKEY>. <MY-FILEKEY> refers to an image file that you want to download, which will be displayed in the app.

Further reading

For more details on Foreign Code, see the documentation. For more details on AWS and S3, see the S3 documentation for iOS and the S3 documentation for Android. The code in this sample follows the S3 documentation closely.