Release: AWS SDK for Android 1.0.1

Release Notes>Android>Release: AWS SDK for Android 1.0.1
This release supports the latest versions of Amazon Elastic Compute Cloud (EC2), Auto Scaling and Elastic Load Balancing. This release also enables customers to turn on server-side encryption in Amazon S3 when uploading data and includes a sample specific for using Amazon S3 with images.

Details

Submitted By: Glenn@
Release Date: October 13, 2011 5:53 PM GMT
Created On: October 13, 2011 5:53 PM GMT
Last Updated: October 13, 2011 5:53 PM GMT

Download

Download the AWS SDK for Android 1.0.1

New Features

Change Description
New Amazon S3 Specific Sample App

This sample demonstrates how to upload an image to Amazon S3 from your mobile device and how to make that image available on the web.

Amazon S3 Server Side Encryption

Customers now have the option to encrypt data stored "at rest" within Amazon S3. Amazon S3 Server Side Encryption provides customers with the ability to easily encrypt data -- securing their data in the cloud -- without the burden of building, managing, and securing a key management infrastructure.

This example stores an object and specifies that it should be encrypted:

File file = new File(uploadFileName);
PutObjectRequest putRequest = new PutObjectRequest(bucketName, keyName, file);

// Request server-side encryption.
ObjectMetadata objectMetadata = new ObjectMetadata();
objectMetadata.setServerSideEncryption(ObjectMetadata.AES_256_SERVER_SIDE_ENCRYPTION);
putRequest.setMetadata(objectMetadata);
PutObjectResult response = s3client.putObject(putRequest);
System.out.println("Uploaded object encryption status is " + response.getServerSideEncryption());

This example retrieves the encryption method associated with a specific object:

GetObjectMetadataRequest request = new GetObjectMetadataRequest(bucketName, keyName);
ObjectMetadata metadata = s3client.getObjectMetadata(request);
System.out.println("Encryption algorithm used: " + metadata.getServerSideEncryption());

For more information on encrypting your data using Amazon S3 Server Side Encryption, please see the Amazon S3 Developer Guide.

Supported API Versions

This release of the SDK supports the following API versions:

Service API Version
Amazon CloudWatch 2010-08-01
Amazon Elastic Compute Cloud (EC2) 2011-05-15
Amazon Simple Email Service (SES) 2010-12-01
Amazon Simple Notification Service (SNS) 2010-03-31
Amazon Simple Queue Service 2009-02-01
Amazon Simple Storage Service (S3) 2006-03-01
Amazon SimpleDB 2009-04-15
Auto Scaling 2011-01-01
Elastic Load Balancing 2011-08-15

 

©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.