AWS SDK for Android »

The SDK samples are set up as Eclipse projects. To import:

Go to the AWS SDK for Android sample repo and clone or download S3_Uploader.

  1. In Eclipse, click File > Import.
  2. Select General > Existing Projects.
  3. Select the S3_Uploader sample.

Configure authentication using Amazon Cognito by following the instructions at Authenticating Users. You can copy and paste the appropriate contants into the Constants.java file in the sample.

  1. In Eclipse, click Project > Clean.
  2. Click Project > Build All.
  3. Click Run > Run.

The S3_Uploader sample is designed to show you how to:


If you have trouble getting set up or have other feedback about this sample, let us know on GitHub.

For in-depth user guides, API documentation, developer forums, and other developer resources, see the AWS Mobile page.