diff --git a/NOTICE.txt b/NOTICE.txt index f9f61270..8df48651 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,5 +1,5 @@ AWS SDK for Android -Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. +Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. This product includes software developed by Amazon Technologies, Inc (http://www.amazon.com/). diff --git a/samples/AWSAndroidDemo/libs/aws-android-sdk-1.0.4-debug.jar b/samples/AWSAndroidDemo/libs/aws-android-sdk-1.0.4-debug.jar deleted file mode 100644 index d2e72dfd..00000000 Binary files a/samples/AWSAndroidDemo/libs/aws-android-sdk-1.0.4-debug.jar and /dev/null differ diff --git a/samples/AWSAndroidDemo/libs/aws-android-sdk-1.1.0-debug.jar b/samples/AWSAndroidDemo/libs/aws-android-sdk-1.1.0-debug.jar new file mode 100644 index 00000000..ac7c1240 Binary files /dev/null and b/samples/AWSAndroidDemo/libs/aws-android-sdk-1.1.0-debug.jar differ diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AWSAndroidDemo.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AWSAndroidDemo.java index 0f905f7a..7fb99f77 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AWSAndroidDemo.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AWSAndroidDemo.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AlertActivity.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AlertActivity.java index 73183de2..14129695 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AlertActivity.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AlertActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AmazonClientManager.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AmazonClientManager.java index ba42d44e..5eded6f3 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AmazonClientManager.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/AmazonClientManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/CustomListActivity.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/CustomListActivity.java index 829de52d..ce69be19 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/CustomListActivity.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/CustomListActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/PropertyLoader.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/PropertyLoader.java index 5a652c5f..0a12b8dc 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/PropertyLoader.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/PropertyLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3.java index 3939c774..a9903015 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3BucketList.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3BucketList.java index 4b3831e1..f4a42210 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3BucketList.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3BucketList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3BucketView.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3BucketView.java index e5fcf95e..ebd4fbfb 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3BucketView.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3BucketView.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3CreateBucket.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3CreateBucket.java index 3a948e06..8f560309 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3CreateBucket.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3CreateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3Menu.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3Menu.java index 2db8a823..521efb8b 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3Menu.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3Menu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3ObjectView.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3ObjectView.java index 6b4a6d63..f50b1f2d 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3ObjectView.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/s3/S3ObjectView.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbDomainCreate.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbDomainCreate.java index 1ca4d9a3..e2f0c7b4 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbDomainCreate.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbDomainCreate.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbDomainList.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbDomainList.java index 4745eb7b..fc3c8c24 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbDomainList.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbDomainList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbItemCreate.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbItemCreate.java index e3ccd64c..e87d3551 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbItemCreate.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbItemCreate.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbItemList.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbItemList.java index 4c00ab3c..c92a7d23 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbItemList.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbItemList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbMenu.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbMenu.java index 3be78df5..07845b62 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbMenu.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SdbMenu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SimpleDB.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SimpleDB.java index ee7ee7a7..5a042d25 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SimpleDB.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sdb/SimpleDB.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SimpleNotification.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SimpleNotification.java index b899331e..e8d2d489 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SimpleNotification.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SimpleNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsCreateTopic.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsCreateTopic.java index 5057fb39..48ad4f48 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsCreateTopic.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsCreateTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsDeleteTopicList.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsDeleteTopicList.java index d7d9911a..fa31f5eb 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsDeleteTopicList.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsDeleteTopicList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsMenu.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsMenu.java index c0a38aa5..18b348cd 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsMenu.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsMenu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsPublish.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsPublish.java index 1f46e24e..ebe8bee5 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsPublish.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsPublish.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsSubscribe.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsSubscribe.java index 187ff3d3..162b42c0 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsSubscribe.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsSubscribe.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsTopicList.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsTopicList.java index 9351c94b..150ed5e2 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsTopicList.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsTopicList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsTopicView.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsTopicView.java index 370116ee..46c44626 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsTopicView.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sns/SnsTopicView.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SimpleQueue.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SimpleQueue.java index 2ef46eb5..1cf38b32 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SimpleQueue.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SimpleQueue.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsCreateQueue.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsCreateQueue.java index 9a53df00..104bf0fa 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsCreateQueue.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsCreateQueue.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsDeleteQueueList.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsDeleteQueueList.java index 1610a7bc..684d19c0 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsDeleteQueueList.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsDeleteQueueList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsMenu.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsMenu.java index a59d0c25..9611bb15 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsMenu.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsMenu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsMessageBody.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsMessageBody.java index f9f57e42..d16bbbd9 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsMessageBody.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsMessageBody.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsQueueList.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsQueueList.java index 6a4a310c..ec6e56b7 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsQueueList.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsQueueList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsRecieveMessages.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsRecieveMessages.java index 9a40fecb..dd86c8d4 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsRecieveMessages.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsRecieveMessages.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsSendMessages.java b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsSendMessages.java index 2d3a9645..2aa30141 100644 --- a/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsSendMessages.java +++ b/samples/AWSAndroidDemo/src/com/amazon/aws/demo/sqs/SqsSendMessages.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/README b/samples/AWSAndroidDemoTVM/README index f0e14f51..ce58fe56 100644 --- a/samples/AWSAndroidDemoTVM/README +++ b/samples/AWSAndroidDemoTVM/README @@ -19,7 +19,6 @@ To run this specific sample you will need to do the following: * Select the Libraries tab. * Click Add External JARs. The Browse dialog box opens. * Browse to samples/AWSAndroidDemoTVM/lib/aws-android-sdk-X.X.X-debug.jar, then click Select. - * Browse to samples/AWSAndroidDemoTVM/lib/tvmclient.jar, then click Select. * Click OK 3. Update your App configuration: diff --git a/samples/AWSAndroidDemoTVM/libs/aws-android-sdk-1.0.4-debug.jar b/samples/AWSAndroidDemoTVM/libs/aws-android-sdk-1.0.4-debug.jar deleted file mode 100644 index d2e72dfd..00000000 Binary files a/samples/AWSAndroidDemoTVM/libs/aws-android-sdk-1.0.4-debug.jar and /dev/null differ diff --git a/samples/AWSAndroidDemoTVM/libs/aws-android-sdk-1.1.0-debug.jar b/samples/AWSAndroidDemoTVM/libs/aws-android-sdk-1.1.0-debug.jar new file mode 100644 index 00000000..ac7c1240 Binary files /dev/null and b/samples/AWSAndroidDemoTVM/libs/aws-android-sdk-1.1.0-debug.jar differ diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AWSAndroidDemoTVM.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AWSAndroidDemoTVM.java index e2967a8c..c71877c4 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AWSAndroidDemoTVM.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AWSAndroidDemoTVM.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AlertActivity.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AlertActivity.java index 65e43bb7..1426939f 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AlertActivity.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AlertActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AmazonClientManager.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AmazonClientManager.java index b33db78f..86161d27 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AmazonClientManager.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/AmazonClientManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -26,8 +26,6 @@ import com.amazonaws.services.simpledb.AmazonSimpleDBClient; import com.amazonaws.services.sns.AmazonSNSClient; -import com.amazonaws.handlers.SessionBasedAuthenticationRequestHandler; - import android.util.Log; /** diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/CustomListActivity.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/CustomListActivity.java index 5469fffb..57b8b6ad 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/CustomListActivity.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/CustomListActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/PropertyLoader.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/PropertyLoader.java index 986a38fc..34948065 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/PropertyLoader.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/PropertyLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3.java index b45dae54..d4b43e26 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3BucketList.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3BucketList.java index 30da764e..3cfad481 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3BucketList.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3BucketList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3BucketView.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3BucketView.java index fcc1bdc8..aecf20ad 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3BucketView.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3BucketView.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3CreateBucket.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3CreateBucket.java index 200e88f5..ed61a9dd 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3CreateBucket.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3CreateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3Menu.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3Menu.java index eda2c639..f222d688 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3Menu.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3Menu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3ObjectView.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3ObjectView.java index 7bdab169..bd3ecc2b 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3ObjectView.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/s3/S3ObjectView.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbDomainCreate.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbDomainCreate.java index b64e9653..16a3ed6a 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbDomainCreate.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbDomainCreate.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbDomainList.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbDomainList.java index 4c647222..bfd82da5 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbDomainList.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbDomainList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbItemCreate.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbItemCreate.java index c4b78478..9ec74adb 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbItemCreate.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbItemCreate.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbItemList.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbItemList.java index f71fa4de..fc34eb64 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbItemList.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbItemList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbMenu.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbMenu.java index 8372f0a1..5835f876 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbMenu.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SdbMenu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SimpleDB.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SimpleDB.java index 1683da9e..4e9eee6a 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SimpleDB.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sdb/SimpleDB.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SimpleNotification.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SimpleNotification.java index 475b585e..10d52383 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SimpleNotification.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SimpleNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsCreateTopic.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsCreateTopic.java index 514e2ed9..99b0616a 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsCreateTopic.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsCreateTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsDeleteTopicList.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsDeleteTopicList.java index ce136503..44038c22 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsDeleteTopicList.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsDeleteTopicList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsMenu.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsMenu.java index bdb50225..0ea9d4f7 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsMenu.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsMenu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsPublish.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsPublish.java index 80cc81e4..318b25d0 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsPublish.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsPublish.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsSubscribe.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsSubscribe.java index 3b807ed4..6ff62a0c 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsSubscribe.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsSubscribe.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsTopicList.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsTopicList.java index 31ff9a7e..0fb2c348 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsTopicList.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsTopicList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsTopicView.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsTopicView.java index af1ea57c..e07f362c 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsTopicView.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sns/SnsTopicView.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SimpleQueue.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SimpleQueue.java index 7fe57c8d..4c656036 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SimpleQueue.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SimpleQueue.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsCreateQueue.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsCreateQueue.java index 08832690..7b8f7db9 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsCreateQueue.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsCreateQueue.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsDeleteQueueList.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsDeleteQueueList.java index f2cfb05c..de417a32 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsDeleteQueueList.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsDeleteQueueList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsMenu.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsMenu.java index b6157b81..0eeedcdf 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsMenu.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsMenu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsMessageBody.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsMessageBody.java index 71333e15..6103a090 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsMessageBody.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsMessageBody.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsQueueList.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsQueueList.java index 746db21b..6b80d810 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsQueueList.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsQueueList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsRecieveMessages.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsRecieveMessages.java index 7a2b471e..8afc1816 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsRecieveMessages.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsRecieveMessages.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsSendMessages.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsSendMessages.java index 784157a6..62397646 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsSendMessages.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/demo/anonymous/sqs/SqsSendMessages.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AESEncryption.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AESEncryption.java index 60e7d2a5..27bcdac5 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AESEncryption.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AESEncryption.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AmazonSharedPreferencesWrapper.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AmazonSharedPreferencesWrapper.java index b26123cd..a3eb05e7 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AmazonSharedPreferencesWrapper.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AmazonSharedPreferencesWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AmazonTVMClient.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AmazonTVMClient.java index 78797729..f06511c9 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AmazonTVMClient.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/AmazonTVMClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenRequest.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenRequest.java index c52b7b35..092471d4 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenRequest.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenResponse.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenResponse.java index 54c901a6..7294d057 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenResponse.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenResponseHandler.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenResponseHandler.java index 43e734cc..bf75ae58 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenResponseHandler.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/GetTokenResponseHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/RegisterDeviceRequest.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/RegisterDeviceRequest.java index f06fd19e..07674c3b 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/RegisterDeviceRequest.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/RegisterDeviceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Request.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Request.java index ed12af47..7dec9ff4 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Request.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Request.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Response.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Response.java index 295d5f10..a1548c44 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Response.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Response.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/ResponseHandler.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/ResponseHandler.java index da81298d..73c125af 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/ResponseHandler.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/ResponseHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/TokenVendingMachineService.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/TokenVendingMachineService.java index 78472c96..cc6365ad 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/TokenVendingMachineService.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/TokenVendingMachineService.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Utilities.java b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Utilities.java index 36162d7b..71d5a631 100644 --- a/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Utilities.java +++ b/samples/AWSAndroidDemoTVM/src/com/amazon/aws/tvmclient/Utilities.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -57,7 +57,7 @@ protected void addSessionCredentials(Request request, AWSSessionCredentials cred public String getSignature( String dataToSign, String key ) { try { - return super.sign( dataToSign.getBytes( "UTF-8" ), key, SigningAlgorithm.HmacSHA256 ); + return super.signAndBase64Encode( dataToSign.getBytes( "UTF-8" ), key, SigningAlgorithm.HmacSHA256 ); } catch ( Exception exception ) { return null; diff --git a/samples/AWSAndroidDemoTVMIdentity/README b/samples/AWSAndroidDemoTVMIdentity/README index 42346bfb..991d79c3 100644 --- a/samples/AWSAndroidDemoTVMIdentity/README +++ b/samples/AWSAndroidDemoTVMIdentity/README @@ -23,7 +23,6 @@ To run this specific sample you will need to do the following: * Select the Libraries tab. * Click Add External JARs. The Browse dialog box opens. * Browse to samples/AWSAndroidDemoTVMIdentity/lib/aws-android-sdk-X.X.X-debug.jar, then click Select. - * Browse to samples/AWSAndroidDemoTVMIdentity/lib/tvmclient.jar, then click Select. * Click OK 3. Update your App configuration: diff --git a/samples/AWSAndroidDemoTVMIdentity/libs/aws-android-sdk-1.0.4-debug.jar b/samples/AWSAndroidDemoTVMIdentity/libs/aws-android-sdk-1.0.4-debug.jar deleted file mode 100644 index d2e72dfd..00000000 Binary files a/samples/AWSAndroidDemoTVMIdentity/libs/aws-android-sdk-1.0.4-debug.jar and /dev/null differ diff --git a/samples/AWSAndroidDemoTVMIdentity/libs/aws-android-sdk-1.1.0-debug.jar b/samples/AWSAndroidDemoTVMIdentity/libs/aws-android-sdk-1.1.0-debug.jar new file mode 100644 index 00000000..ac7c1240 Binary files /dev/null and b/samples/AWSAndroidDemoTVMIdentity/libs/aws-android-sdk-1.1.0-debug.jar differ diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AWSAndroidDemoTVMIdentity.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AWSAndroidDemoTVMIdentity.java index c2646ae3..567f5bd9 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AWSAndroidDemoTVMIdentity.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AWSAndroidDemoTVMIdentity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AlertActivity.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AlertActivity.java index e95d51c6..b952ea96 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AlertActivity.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AlertActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AmazonClientManager.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AmazonClientManager.java index bf270617..8ae8307a 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AmazonClientManager.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/AmazonClientManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -26,8 +26,6 @@ import com.amazonaws.services.simpledb.AmazonSimpleDBClient; import com.amazonaws.services.sns.AmazonSNSClient; -import com.amazonaws.handlers.SessionBasedAuthenticationRequestHandler; - import android.util.Log; /** diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/CustomListActivity.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/CustomListActivity.java index 61721a56..8bd8143a 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/CustomListActivity.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/CustomListActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/Login.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/Login.java index 8012819d..574be6ac 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/Login.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/Login.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/PropertyLoader.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/PropertyLoader.java index 661a3800..4b4f784f 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/PropertyLoader.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/PropertyLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3.java index 46f31b28..82b465ff 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3BucketList.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3BucketList.java index 20b5b424..32ffdbfc 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3BucketList.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3BucketList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3BucketView.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3BucketView.java index 814bd154..ec499b8a 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3BucketView.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3BucketView.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3CreateBucket.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3CreateBucket.java index a34a1fc2..9f0b98fa 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3CreateBucket.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3CreateBucket.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3Menu.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3Menu.java index 006ed587..f4e0d94e 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3Menu.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3Menu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3ObjectView.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3ObjectView.java index 3fed0321..16e7ba09 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3ObjectView.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/s3/S3ObjectView.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbDomainCreate.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbDomainCreate.java index 425509b5..7bf0c1b2 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbDomainCreate.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbDomainCreate.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbDomainList.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbDomainList.java index 46c2e907..331c2bf8 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbDomainList.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbDomainList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbItemCreate.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbItemCreate.java index 4883886c..7ed27d4e 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbItemCreate.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbItemCreate.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbItemList.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbItemList.java index 8c2017fc..a55e9bc1 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbItemList.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbItemList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbMenu.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbMenu.java index acae868f..e42f208f 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbMenu.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SdbMenu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SimpleDB.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SimpleDB.java index ea1c9a51..4ddd6053 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SimpleDB.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sdb/SimpleDB.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SimpleNotification.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SimpleNotification.java index 361f43e0..edfc58ea 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SimpleNotification.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SimpleNotification.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsCreateTopic.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsCreateTopic.java index 103f5384..6990eb9a 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsCreateTopic.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsCreateTopic.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsDeleteTopicList.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsDeleteTopicList.java index c836527f..390ccf18 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsDeleteTopicList.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsDeleteTopicList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsMenu.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsMenu.java index b9d09fec..5d8b3b6b 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsMenu.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsMenu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsPublish.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsPublish.java index 9809cf1c..6200666f 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsPublish.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsPublish.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsSubscribe.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsSubscribe.java index ac2aec90..521ea47d 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsSubscribe.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsSubscribe.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsTopicList.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsTopicList.java index 3af60124..1367205f 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsTopicList.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsTopicList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsTopicView.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsTopicView.java index 684281bf..ed5f09df 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsTopicView.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sns/SnsTopicView.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SimpleQueue.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SimpleQueue.java index 69da5c73..d8d5ccf9 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SimpleQueue.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SimpleQueue.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsCreateQueue.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsCreateQueue.java index c8ed7219..a2ea9910 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsCreateQueue.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsCreateQueue.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsDeleteQueueList.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsDeleteQueueList.java index 527f9d98..ec63823e 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsDeleteQueueList.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsDeleteQueueList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsMenu.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsMenu.java index 8fd6ccc0..31891f59 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsMenu.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsMenu.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsMessageBody.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsMessageBody.java index 37cb677d..14a66b5d 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsMessageBody.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsMessageBody.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsQueueList.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsQueueList.java index bffb4872..d0e8508c 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsQueueList.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsQueueList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsRecieveMessages.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsRecieveMessages.java index dd021726..abdadfe3 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsRecieveMessages.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsRecieveMessages.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsSendMessages.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsSendMessages.java index ec29a34f..4d91aa0e 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsSendMessages.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/demo/identity/sqs/SqsSendMessages.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AESEncryption.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AESEncryption.java index ec24672a..b0fced53 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AESEncryption.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AESEncryption.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AmazonSharedPreferencesWrapper.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AmazonSharedPreferencesWrapper.java index b26123cd..a3eb05e7 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AmazonSharedPreferencesWrapper.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AmazonSharedPreferencesWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AmazonTVMClient.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AmazonTVMClient.java index 1c51478c..1bba296c 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AmazonTVMClient.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/AmazonTVMClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenRequest.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenRequest.java index c52b7b35..092471d4 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenRequest.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenResponse.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenResponse.java index 54c901a6..7294d057 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenResponse.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenResponseHandler.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenResponseHandler.java index 43e734cc..bf75ae58 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenResponseHandler.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/GetTokenResponseHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginRequest.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginRequest.java index e83ce4b1..14b4d552 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginRequest.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginResponse.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginResponse.java index ab800aaa..de821219 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginResponse.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginResponseHandler.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginResponseHandler.java index f6b06e1c..c4252635 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginResponseHandler.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/LoginResponseHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/RegisterDeviceRequest.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/RegisterDeviceRequest.java index f06fd19e..07674c3b 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/RegisterDeviceRequest.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/RegisterDeviceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Request.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Request.java index ed12af47..7dec9ff4 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Request.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Request.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Response.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Response.java index f1dbceeb..5ad36495 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Response.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Response.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/ResponseHandler.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/ResponseHandler.java index da81298d..73c125af 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/ResponseHandler.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/ResponseHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/TokenVendingMachineService.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/TokenVendingMachineService.java index 78472c96..cc6365ad 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/TokenVendingMachineService.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/TokenVendingMachineService.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Utilities.java b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Utilities.java index 588608e9..0702d136 100644 --- a/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Utilities.java +++ b/samples/AWSAndroidDemoTVMIdentity/src/com/amazon/aws/tvmclient/Utilities.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/HighScores/libs/aws-android-sdk-1.0.4-debug.jar b/samples/HighScores/libs/aws-android-sdk-1.0.4-debug.jar deleted file mode 100644 index d2e72dfd..00000000 Binary files a/samples/HighScores/libs/aws-android-sdk-1.0.4-debug.jar and /dev/null differ diff --git a/samples/HighScores/libs/aws-android-sdk-1.1.0-debug.jar b/samples/HighScores/libs/aws-android-sdk-1.1.0-debug.jar new file mode 100644 index 00000000..ac7c1240 Binary files /dev/null and b/samples/HighScores/libs/aws-android-sdk-1.1.0-debug.jar differ diff --git a/samples/HighScores/src/com/amazonaws/demo/AddScoreActivity.java b/samples/HighScores/src/com/amazonaws/demo/AddScoreActivity.java index f0cd8987..d1e98255 100644 --- a/samples/HighScores/src/com/amazonaws/demo/AddScoreActivity.java +++ b/samples/HighScores/src/com/amazonaws/demo/AddScoreActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/HighScores/src/com/amazonaws/demo/Constants.java b/samples/HighScores/src/com/amazonaws/demo/Constants.java index 90513544..abc3bd45 100644 --- a/samples/HighScores/src/com/amazonaws/demo/Constants.java +++ b/samples/HighScores/src/com/amazonaws/demo/Constants.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/HighScores/src/com/amazonaws/demo/HighScore.java b/samples/HighScores/src/com/amazonaws/demo/HighScore.java index 228f8117..f2ae319c 100644 --- a/samples/HighScores/src/com/amazonaws/demo/HighScore.java +++ b/samples/HighScores/src/com/amazonaws/demo/HighScore.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/HighScores/src/com/amazonaws/demo/HighScoreList.java b/samples/HighScores/src/com/amazonaws/demo/HighScoreList.java index 746a5852..1ce6bbbe 100644 --- a/samples/HighScores/src/com/amazonaws/demo/HighScoreList.java +++ b/samples/HighScores/src/com/amazonaws/demo/HighScoreList.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/HighScores/src/com/amazonaws/demo/HighScoresActivity.java b/samples/HighScores/src/com/amazonaws/demo/HighScoresActivity.java index 1737d5f1..c1f30bad 100644 --- a/samples/HighScores/src/com/amazonaws/demo/HighScoresActivity.java +++ b/samples/HighScores/src/com/amazonaws/demo/HighScoresActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/HighScores/src/com/amazonaws/demo/ScoresAdapter.java b/samples/HighScores/src/com/amazonaws/demo/ScoresAdapter.java index b1de9698..cdb9fe5d 100644 --- a/samples/HighScores/src/com/amazonaws/demo/ScoresAdapter.java +++ b/samples/HighScores/src/com/amazonaws/demo/ScoresAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/HighScores/src/com/amazonaws/demo/ViewPlayerActivity.java b/samples/HighScores/src/com/amazonaws/demo/ViewPlayerActivity.java index 3a463b09..53f40fe6 100644 --- a/samples/HighScores/src/com/amazonaws/demo/ViewPlayerActivity.java +++ b/samples/HighScores/src/com/amazonaws/demo/ViewPlayerActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/HighScores/src/com/amazonaws/demo/ViewScoresActivity.java b/samples/HighScores/src/com/amazonaws/demo/ViewScoresActivity.java index 8cebdbc1..f6f0ec36 100644 --- a/samples/HighScores/src/com/amazonaws/demo/ViewScoresActivity.java +++ b/samples/HighScores/src/com/amazonaws/demo/ViewScoresActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/MessageBoard/libs/aws-android-sdk-1.0.4-debug.jar b/samples/MessageBoard/libs/aws-android-sdk-1.0.4-debug.jar deleted file mode 100644 index d2e72dfd..00000000 Binary files a/samples/MessageBoard/libs/aws-android-sdk-1.0.4-debug.jar and /dev/null differ diff --git a/samples/MessageBoard/libs/aws-android-sdk-1.1.0-debug.jar b/samples/MessageBoard/libs/aws-android-sdk-1.1.0-debug.jar new file mode 100644 index 00000000..ac7c1240 Binary files /dev/null and b/samples/MessageBoard/libs/aws-android-sdk-1.1.0-debug.jar differ diff --git a/samples/MessageBoard/src/com/amazonaws/demo/Constants.java b/samples/MessageBoard/src/com/amazonaws/demo/Constants.java index be3b8afd..dd6a5c0d 100644 --- a/samples/MessageBoard/src/com/amazonaws/demo/Constants.java +++ b/samples/MessageBoard/src/com/amazonaws/demo/Constants.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/MessageBoard/src/com/amazonaws/demo/MemberListActivity.java b/samples/MessageBoard/src/com/amazonaws/demo/MemberListActivity.java index 3b4bda70..b3e06da1 100644 --- a/samples/MessageBoard/src/com/amazonaws/demo/MemberListActivity.java +++ b/samples/MessageBoard/src/com/amazonaws/demo/MemberListActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/MessageBoard/src/com/amazonaws/demo/MessageBoard.java b/samples/MessageBoard/src/com/amazonaws/demo/MessageBoard.java index 1bdbacb1..faa33070 100644 --- a/samples/MessageBoard/src/com/amazonaws/demo/MessageBoard.java +++ b/samples/MessageBoard/src/com/amazonaws/demo/MessageBoard.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/MessageBoard/src/com/amazonaws/demo/MessageBoardActivity.java b/samples/MessageBoard/src/com/amazonaws/demo/MessageBoardActivity.java index 77f45ee5..c75ee306 100644 --- a/samples/MessageBoard/src/com/amazonaws/demo/MessageBoardActivity.java +++ b/samples/MessageBoard/src/com/amazonaws/demo/MessageBoardActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/MessageBoard/src/com/amazonaws/demo/MessageQueueActivity.java b/samples/MessageBoard/src/com/amazonaws/demo/MessageQueueActivity.java index 49e6beaa..edefa6f8 100644 --- a/samples/MessageBoard/src/com/amazonaws/demo/MessageQueueActivity.java +++ b/samples/MessageBoard/src/com/amazonaws/demo/MessageQueueActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/MessageBoard/src/com/amazonaws/demo/MessageQueueAdapter.java b/samples/MessageBoard/src/com/amazonaws/demo/MessageQueueAdapter.java index 280769e5..419fe277 100644 --- a/samples/MessageBoard/src/com/amazonaws/demo/MessageQueueAdapter.java +++ b/samples/MessageBoard/src/com/amazonaws/demo/MessageQueueAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/S3Uploader/libs/aws-android-sdk-1.0.4-debug.jar b/samples/S3Uploader/libs/aws-android-sdk-1.0.4-debug.jar deleted file mode 100644 index d2e72dfd..00000000 Binary files a/samples/S3Uploader/libs/aws-android-sdk-1.0.4-debug.jar and /dev/null differ diff --git a/samples/S3Uploader/libs/aws-android-sdk-1.1.0-debug.jar b/samples/S3Uploader/libs/aws-android-sdk-1.1.0-debug.jar new file mode 100644 index 00000000..ac7c1240 Binary files /dev/null and b/samples/S3Uploader/libs/aws-android-sdk-1.1.0-debug.jar differ diff --git a/samples/S3Uploader/src/com/amazonaws/demo/Constants.java b/samples/S3Uploader/src/com/amazonaws/demo/Constants.java index 05b22ad6..98f02c13 100644 --- a/samples/S3Uploader/src/com/amazonaws/demo/Constants.java +++ b/samples/S3Uploader/src/com/amazonaws/demo/Constants.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/S3Uploader/src/com/amazonaws/demo/S3UploaderActivity.java b/samples/S3Uploader/src/com/amazonaws/demo/S3UploaderActivity.java index c1569754..6d49557a 100644 --- a/samples/S3Uploader/src/com/amazonaws/demo/S3UploaderActivity.java +++ b/samples/S3Uploader/src/com/amazonaws/demo/S3UploaderActivity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/samples/UserPreference/AndroidManifest.xml b/samples/UserPreference/AndroidManifest.xml new file mode 100644 index 00000000..ecd6f7ed --- /dev/null +++ b/samples/UserPreference/AndroidManifest.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/UserPreference/README b/samples/UserPreference/README new file mode 100644 index 00000000..a7af9e29 --- /dev/null +++ b/samples/UserPreference/README @@ -0,0 +1,32 @@ +Running the UserPreference Sample +============================================ +This sample demonstrates how Android can interact with Amazon DynamoDB to store user preferences. For a detailed description of the code, open and read the UserPreference.html file. + +1. In Eclipse "Open a Sample Android Project" + * Go to File -> New Android Project. The New Project wizard opens. + * Select Create project from existing source, then click the Browse button to select the sample code. The Browse dialog box opens. + * Browse to the samples/UserPreference directory, then click Open. + * Verify that the Build Target is Android 2.2. + * Click Finish. + +2. Edit the Project properties: + * Go to Project -> Properties. + * Select Java Build Path + * Select the Libraries tab. + * Click Add External JARs. The Browse dialog box opens. + * Browse to samples/UserPreference/libs/aws-android-sdk-X.X.X-debug.jar, then click Select. + * Click OK + +3. Update your App configuration: + * Open the AwsCredential.properties file located in src/com/amazon/aws/demo. + * Edit the file and provide: + + The DNS domain name where your Token Vending Machine is running (ex: tvm.elasticbeanstalk.com) + + Set useSSL to "true" or "false" based on whether your configured your Token Vending Machine with SSL or not. + +4. Run the project: + * Go to Project -> Clean. + * Go to Project -> Build All. + * Go to Run -> Run. + + + diff --git a/samples/UserPreference/UserPreference.html b/samples/UserPreference/UserPreference.html new file mode 100644 index 00000000..1395582b --- /dev/null +++ b/samples/UserPreference/UserPreference.html @@ -0,0 +1,470 @@ + + + Storing User Preference in Amazon DynamoDB + + + +

Storing User Preference in Amazon DynamoDB using the AWS SDK for iOS and the AWS SDK for Android

+

+ Amazon DynamoDB is a fast, highly scalable, highly available, cost-effective, non-relational database service. Amazon DynamoDB removes traditional scalability limitations on data storage while maintaining low latency and predictable performance. The sample mobile application + described here demonstrates how to store user preferences in Amazon DynamoDB. Because more and more people are using multiple mobile devices, connecting these devices to the cloud and storing user preferences in the cloud enables developers to provide a more uniform cross-device experience for their users.

+

This article shows sample code for both the + iOS and Android platforms. The complete sample code and project files are included in the AWS + SDKs for these mobile platforms. Links to the SDKs are available at the end of this article. +

+

+ To use the sample app, you'll need to deploy a token vending machine (TVM). A TVM is a cloud-based application that manages AWS credentials for users of mobile applications. To deploy the TVM, you'll first need to obtain your own AWS credentials: an Access Key ID and Secret Key. +

+ If you haven't already signed up for Amazon Web Services (AWS), + you will need to do that first to get your AWS credentials. + You can sign up for AWS here. + After you sign up, you can retrieve your credentials at this page. The credentials will be used to set up the TVM to authenticate users of AWS mobile applications. Sample Java web applications are available here: Anonymous TVM and Identity TVM (This sample uses Anonymous TVM). +

+ +

Overview

+

In Amazon DynamoDB, a database is a collection of tables. A table is a collection of items, and each item is a collection of attributes. For our app, we create a single table to store our list of users and their preferences. Each item in the table represents an individual user. Each item + has multiple attributes, which include the user's name and their preferences. Each item also has a hash key—in this case, userNo—which is the primary key for the table.

+ +

The app demonstrates how to add and remove users, and modify and retrieve their preference data. The app also demonstrates how to create + and delete Amazon DynamoDB tables.

+ +

Registering the Device with Token Vending Machine

+

In order to create an Amazon DynamoDB client, we must first register the mobile device with the token vending machine (TVM). For this sample, we use the Anonymous TVM to register the device. Then we store the UID and key returned by the TVM on the device. + +

+

+ +
+
+RegisterDeviceRequest *request = [[[RegisterDeviceRequest alloc] initWithEndpoint:self.endpoint andUid:uid andKey:key usingSSL:self.useSSL] autorelease];
+ResponseHandler *handler = [[[ResponseHandler alloc] init] autorelease];
+
+response = [self processRequest:request responseHandler:handler];
+if ( [response wasSuccessful]) {
+    [AmazonKeyChainWrapper registerDeviceId:uid andKey:key];
+}
+

+ +

+ +
+
+RegisterDeviceRequest registerDeviceRequest = new RegisterDeviceRequest(
+		this.endpoint, this.useSSL, uid, key);
+ResponseHandler handler = new ResponseHandler();
+
+response = this.processRequest(registerDeviceRequest, handler);
+if (response.requestWasSuccessful()) {
+	AmazonSharedPreferencesWrapper.registerDeviceId(
+			this.sharedPreferences, uid, key);
+}
+		    
+

+

+ +

Retrieving the Temporary Credentials from Token Vending Machine

+

The following code demonstrates how to request that the TVM generate temporary credentials, and how to store the returned credentials on the device. + +

+

+ +
+
+Request *request = [[[GetTokenRequest alloc] initWithEndpoint:self.endpoint andUid:uid andKey:key usingSSL:self.useSSL] autorelease];
+ResponseHandler *handler = [[[GetTokenResponseHandler alloc] initWithKey:key] autorelease];
+
+GetTokenResponse *response = (GetTokenResponse *)[self processRequest:request responseHandler:handler];
+
+if ( [response wasSuccessful]) {
+    [AmazonKeyChainWrapper storeCredentialsInKeyChain:response.accessKey secretKey:response.secretKey securityToken:response.securityToken expiration:response.expirationDate];
+}
+

+ +

+ +
+
+Request getTokenRequest = new GetTokenRequest(this.endpoint,
+		this.useSSL, uid, key);
+ResponseHandler handler = new GetTokenResponseHandler(key);
+
+GetTokenResponse getTokenResponse = (GetTokenResponse) this
+		.processRequest(getTokenRequest, handler);
+if (getTokenResponse.requestWasSuccessful()) {
+	AmazonSharedPreferencesWrapper.storeCredentialsInSharedPreferences(
+			this.sharedPreferences, getTokenResponse.getAccessKey(),
+			getTokenResponse.getSecretKey(),
+			getTokenResponse.getSecurityToken(),
+			getTokenResponse.getExpirationDate());
+}
+		    
+

+

+ +

Creating an Amazon DynamoDB Client

+

To make service requests to Amazon DynamoDB, you need to instantiate an Amazon DynamoDB client. The code below shows how to create an Amazon DynamoDB client for iOS or Android using the stored temporary credentials from the TVM. + +

+

+ +
+
+AmazonCredentials *credentials = [AmazonKeyChainWrapper getCredentialsFromKeyChain];
+AmazonDynamoDBClient *ddb = [[AmazonDynamoDBClient alloc] initWithCredentials:credentials];
+

+ +

+ +
+
+AWSCredentials credentials = AmazonSharedPreferencesWrapper
+		.getCredentialsFromSharedPreferences(this.sharedPreferences);
+
+AmazonDynamoDBClient ddb = new AmazonDynamoDBClient(credentials);
+		    
+

+

+ +

Creating a User List (Table Creation)

+

Each user's preferences are stored as items in an Amazon DynamoDB table. The following code creates that table using the client we created above. Every Amazon DynamoDB table require a hash key. In this sample, we use userNo as the hash key for the table. + +

+

+ +
+
+DynamoDBKeySchemaElement *kse = [[[DynamoDBKeySchemaElement alloc] 
+				initWithAttributeName:@"userNo" 
+				andAttributeType:@"N"] autorelease];
+
+DynamoDBKeySchema *ks = [[[DynamoDBKeySchema alloc] 
+			initWithHashKeyElement:kse] autorelease];
+
+DynamoDBProvisionedThroughput *pt = [[[DynamoDBProvisionedThroughput alloc] init] autorelease];
+pt.readCapacityUnits  = [NSNumber numberWithInt:10];
+pt.writeCapacityUnits = [NSNumber numberWithInt:5];
+
+DynamoDBCreateTableRequest *request = [[DynamoDBCreateTableRequest alloc] 
+				      initWithTableName:TEST_TABLE_NAME 
+				      andKeySchema:ks 
+				      andProvisionedThroughput:pt];
+
+DynamoDBCreateTableResponse *response = [[AmazonClientManager ddb] createTable:request];
+[request release];
+

+ +

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+KeySchemaElement kse = new KeySchemaElement().withAttributeName(
+		"userNo").withAttributeType(ScalarAttributeType.N);
+KeySchema ks = new KeySchema().withHashKeyElement(kse);
+ProvisionedThroughput pt = new ProvisionedThroughput()
+		.withReadCapacityUnits(10l).withWriteCapacityUnits(5l);
+
+CreateTableRequest request = new CreateTableRequest()
+		.withTableName(PropertyLoader.getInstance().getTestTableName())
+		.withKeySchema(ks).withProvisionedThroughput(pt);
+
+ddb.createTable(request);
+		    
+

+

+ +

Checking the Status of the Table (Table Description)

+

Before we can move to the next step (creating users), we must wait until the status of the tables is ACTIVE. To retrieve the status of the table, we use a describe table request. This request returns information about the table such as the name of the table, item count, creation date and time, and its status. + +

+

+ +
+
+DynamoDBDescribeTableRequest *request = [[[DynamoDBDescribeTableRequest alloc] initWithTableName:TEST_TABLE_NAME] autorelease];
+DynamoDBDescribeTableResponse *response = [[AmazonClientManager ddb] describeTable:request];
+
+NSString *status = response.table.tableStatus;
+		    
+

+ +

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+DescribeTableRequest request = new DescribeTableRequest()
+		.withTableName(PropertyLoader.getInstance()
+				.getTestTableName());
+DescribeTableResult result = ddb.describeTable(request);
+
+String status = result.getTable().getTableStatus();
+		    
+

+ +

+ +

Creating Users (Item Creation)

+

For each user, we'll create an item in the table. An item is a collection of attribute/value pairs. For each item, we'll have three attributes: userNo, firstName and lastName. These are added to a put item request in order to create the item.

+ + +

+ +
+
+NSMutableDictionary *userDic = 
+[NSDictionary dictionaryWithObjectsAndKeys:
+    [[[DynamoDBAttributeValue alloc] initWithN:[NSString stringWithFormat:@"%d", i]] autorelease],
+    @"userNo",
+    [[[DynamoDBAttributeValue alloc] initWithS:[Constants getRandomName]] autorelease], 
+    @"firstName", 
+    [[[DynamoDBAttributeValue alloc] initWithS:[Constants getRandomName]] autorelease], 
+    @"lastName",
+    nil];
+DynamoDBPutItemRequest *request =
+    [[DynamoDBPutItemRequest alloc] 
+	initWithTableName:TEST_TABLE_NAME 
+	andItem:userDic];
+[[AmazonClientManager ddb] putItem:request];
+[request release];
+

+ +

+ +
+
+HashMap<String, AttributeValue> item = new HashMap<String, AttributeValue>();
+
+AttributeValue userNo = new AttributeValue().withN(String
+		.valueOf(i));
+item.put("userNo", userNo);
+
+AttributeValue firstName = new AttributeValue().withS(Constants
+		.getRandomName());
+item.put("firstName", firstName);
+
+AttributeValue lastName = new AttributeValue().withS(Constants
+		.getRandomName());
+item.put("lastName", lastName);
+
+PutItemRequest request = new PutItemRequest().withTableName(
+		PropertyLoader.getInstance().getTestTableName()).withItem(
+		item);
+
+ddb.putItem(request);
+		    
+

+ +

Deleting Users (Item Deletion)

+

To remove a user from the list simply means deleting the corresponding item from the table. We specify the item we wish to delete using the hash key for the item.

+ + +

+ +
+
+DynamoDBDeleteItemRequest *request = [[DynamoDBDeleteItemRequest alloc] 
+				    initWithTableName:TEST_TABLE_NAME 
+				    andKey:[[[DynamoDBKey alloc] initWithHashKeyElement:aPrimaryKey] autorelease]];
+
+[[AmazonClientManager ddb] deleteItem:request];
+[request release];
+

+ +

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+Key primaryKey = new Key().withHashKeyElement(targetValue);
+DeleteItemRequest request = new DeleteItemRequest().withTableName(
+		PropertyLoader.getInstance().getTestTableName()).withKey(
+		primaryKey);
+ddb.deleteItem(request);
+		    
+

+

+ +

Listing Users (Table Scan)

+

We can retrieve a collection of users with a scan request. + A scan request simply scans the table and returns the results in an undetermined order. Scan is an expensive operation and should be used with care to avoid disrupting your higher priority production traffic on the table. See the Amazon DynamoDB developer guide for more recommendations for safely using the Scan operation. +

+ + +

+ +
+
+DynamoDBScanRequest *request = [[[DynamoDBScanRequest alloc] initWithTableName:TEST_TABLE_NAME] autorelease];
+DynamoDBScanResponse *response = [[AmazonClientManager ddb] scan:request];
+
+NSMutableArray *users = response.items;
+		    
+

+ +

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+ScanRequest request = new ScanRequest();
+request.setTableName(PropertyLoader.getInstance().getTestTableName());
+ScanResult result = ddb.scan(request);
+
+ArrayList<HashMap<String, AttributeValue>> users = (ArrayList<HashMap<String, AttributeValue>>) result.getItems();
+		    
+
+

+

+ +

Retrieving a User's Preferences (Item Retrieval)

+

Knowing a user's userNo, the hash key of the table, it is easy to find the item for the user. + This next snippet shows how to get all the attributes for an item using the hash key.

+ + +

+ +
+
+DynamoDBGetItemRequest *request = [[DynamoDBGetItemRequest alloc] 
+				initWithTableName:TEST_TABLE_NAME 
+				andKey:[[[DynamoDBKey alloc] initWithHashKeyElement:
+					 [[[DynamoDBAttributeValue alloc] initWithN:[NSString stringWithFormat:@"%d", userNo]] autorelease]]autorelease]];
+DynamoDBGetItemResponse *response = [[AmazonClientManager ddb] getItem:request];
+[request release];
+
+NSMutableDictionary *userPereferences = response.item;
+		    
+

+ +

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+AttributeValue userNoAttr = new AttributeValue().withN(String
+		.valueOf(userNo));
+Key primaryKey = new Key().withHashKeyElement(userNoAttr);
+GetItemRequest request = new GetItemRequest().withTableName(
+		PropertyLoader.getInstance().getTestTableName()).withKey(
+		primaryKey);
+
+GetItemResult result = ddb.getItem(request);
+
+HashMap<String, AttributeValue> userPreferences = (HashMap<String, AttributeValue>) result.getItem();
+		    
+

+

+ +

Modifying User Preferences (Item Update)

+

The hash key also makes it easy to update an attribute for an item. + +

+

+ +
+
+DynamoDBAttributeValue *attr = [[DynamoDBAttributeValue alloc] initWithS:aValue];
+DynamoDBAttributeValueUpdate *attrUpdate = [[DynamoDBAttributeValueUpdate alloc] 
+						   initWithValue:attr 
+						   andAction:@"PUT"];
+[attr release];
+DynamoDBUpdateItemRequest *request = [[DynamoDBUpdateItemRequest alloc] 
+				      initWithTableName:TEST_TABLE_NAME 
+				      andKey:[[[DynamoDBKey alloc] 
+					       initWithHashKeyElement:aPrimaryKey] autorelease]
+				      andAttributeUpdates:[NSMutableDictionary
+							   dictionaryWithObject: attrUpdate
+							   forKey:aKey]];
+[attrUpdate release];
+[[AmazonClientManager ddb] updateItem:request];
+[request release];
+		    
+

+ +

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+AttributeValue av = new AttributeValue().withS(value);
+AttributeValueUpdate avu = new AttributeValueUpdate().withValue(av)
+		.withAction(AttributeAction.PUT);
+Key primaryKey = new Key().withHashKeyElement(targetValue);
+HashMap<String, AttributeValueUpdate> updates = new HashMap<String, AttributeValueUpdate>();
+updates.put(key, avu);
+
+UpdateItemRequest request = new UpdateItemRequest()
+		.withTableName(PropertyLoader.getInstance().getTestTableName())
+		.withKey(primaryKey).withAttributeUpdates(updates);
+
+ddb.updateItem(request);
+		    
+

+

+ +

List Deletion (Table Deletion)

+

The easiest way to remove all the user preference data is to delete the Amazon DynamoDB table. The following code show how. + +

+

+ +
+
+DynamoDBDeleteTableRequest *request = [[DynamoDBDeleteTableRequest alloc] initWithTableName:TEST_TABLE_NAME];
+        [[AmazonClientManager ddb] deleteTable:request];
+        [request release];
+		    
+

+ +

+ +
+
+AmazonDynamoDBClient ddb = UserPreferenceDemoActivity.clientManager.ddb();
+
+DeleteTableRequest request = new DeleteTableRequest()
+		.withTableName(PropertyLoader.getInstance().getTestTableName());
+ddb.deleteTable(request);
+		    
+

+

+ +

Conclusion and Additional Resources

+

The code in this article demonstrates how to use Amazon DynamoDB as a storage device for your + mobile application. You can find more information about Amazon DynamoDB here.

+

Sample apps that include the code from this article are provided with both mobile SDKs. You can download the SDKs using the following links:

+ + + +

For more information about using AWS credentials with mobile applications see the following article:

+ + +

Questions?

+

Please feel free to ask questions or provide comments in the Mobile Development Forum.

+ + diff --git a/samples/UserPreference/build.properties b/samples/UserPreference/build.properties new file mode 100644 index 00000000..edc7f230 --- /dev/null +++ b/samples/UserPreference/build.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked in Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/samples/UserPreference/build.xml b/samples/UserPreference/build.xml new file mode 100644 index 00000000..d42b57b0 --- /dev/null +++ b/samples/UserPreference/build.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/UserPreference/default.properties b/samples/UserPreference/default.properties new file mode 100644 index 00000000..e2e8061f --- /dev/null +++ b/samples/UserPreference/default.properties @@ -0,0 +1,11 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "build.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-8 diff --git a/samples/UserPreference/libs/aws-android-sdk-1.1.0-debug.jar b/samples/UserPreference/libs/aws-android-sdk-1.1.0-debug.jar new file mode 100644 index 00000000..ac7c1240 Binary files /dev/null and b/samples/UserPreference/libs/aws-android-sdk-1.1.0-debug.jar differ diff --git a/samples/UserPreference/local.properties b/samples/UserPreference/local.properties new file mode 100644 index 00000000..6471074f --- /dev/null +++ b/samples/UserPreference/local.properties @@ -0,0 +1,11 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must *NOT* be checked in Version Control Systems, +# as it contains information specific to your local configuration. + +# location of the SDK. This is only used by Ant +# For customization when using a Version Control System, please read the +# header note. +sdk.dir=/path/to/android-sdk-linux_86 + diff --git a/samples/UserPreference/proguard.cfg b/samples/UserPreference/proguard.cfg new file mode 100644 index 00000000..b1cdf17b --- /dev/null +++ b/samples/UserPreference/proguard.cfg @@ -0,0 +1,40 @@ +-optimizationpasses 5 +-dontusemixedcaseclassnames +-dontskipnonpubliclibraryclasses +-dontpreverify +-verbose +-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* + +-keep public class * extends android.app.Activity +-keep public class * extends android.app.Application +-keep public class * extends android.app.Service +-keep public class * extends android.content.BroadcastReceiver +-keep public class * extends android.content.ContentProvider +-keep public class * extends android.app.backup.BackupAgentHelper +-keep public class * extends android.preference.Preference +-keep public class com.android.vending.licensing.ILicensingService + +-keepclasseswithmembernames class * { + native ; +} + +-keepclasseswithmembers class * { + public (android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembers class * { + public (android.content.Context, android.util.AttributeSet, int); +} + +-keepclassmembers class * extends android.app.Activity { + public void *(android.view.View); +} + +-keepclassmembers enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); +} + +-keep class * implements android.os.Parcelable { + public static final android.os.Parcelable$Creator *; +} diff --git a/samples/UserPreference/project.properties b/samples/UserPreference/project.properties new file mode 100644 index 00000000..ea89160e --- /dev/null +++ b/samples/UserPreference/project.properties @@ -0,0 +1,11 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-8 diff --git a/samples/UserPreference/res/drawable-hdpi/ic_launcher.png b/samples/UserPreference/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 00000000..8074c4c5 Binary files /dev/null and b/samples/UserPreference/res/drawable-hdpi/ic_launcher.png differ diff --git a/samples/UserPreference/res/drawable-ldpi/ic_launcher.png b/samples/UserPreference/res/drawable-ldpi/ic_launcher.png new file mode 100644 index 00000000..1095584e Binary files /dev/null and b/samples/UserPreference/res/drawable-ldpi/ic_launcher.png differ diff --git a/samples/UserPreference/res/drawable-mdpi/ic_launcher.png b/samples/UserPreference/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 00000000..a07c69fa Binary files /dev/null and b/samples/UserPreference/res/drawable-mdpi/ic_launcher.png differ diff --git a/samples/UserPreference/res/layout/main.xml b/samples/UserPreference/res/layout/main.xml new file mode 100644 index 00000000..de41b11e --- /dev/null +++ b/samples/UserPreference/res/layout/main.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + +