diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-11-20 14:34:28 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-11-20 14:34:28 +0000 |
| commit | 48752f4f33263856f48be42c6b61b32a262a6b24 (patch) | |
| tree | 937a40cce2f93831e33c10c465eff2b76cc5caba | |
| parent | 866c68190c3691792f98b4aa6b3cfd800e28dbef (diff) | |
embedding aws library
| -rw-r--r-- | libs/aws-android-sdk-1.7.0.jar | bin | 0 -> 5446686 bytes | |||
| -rw-r--r-- | src/com/example/rotorm/CameraActivity.java | 5 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libs/aws-android-sdk-1.7.0.jar b/libs/aws-android-sdk-1.7.0.jar Binary files differnew file mode 100644 index 0000000..3321d32 --- /dev/null +++ b/libs/aws-android-sdk-1.7.0.jar diff --git a/src/com/example/rotorm/CameraActivity.java b/src/com/example/rotorm/CameraActivity.java index 6ebb853..e228e52 100644 --- a/src/com/example/rotorm/CameraActivity.java +++ b/src/com/example/rotorm/CameraActivity.java @@ -6,6 +6,9 @@ import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; +import com.amazonaws.auth.BasicAWSCredentials; +import com.amazonaws.services.s3.AmazonS3Client; + import android.app.Activity; import android.content.Context; import android.content.Intent; @@ -108,7 +111,7 @@ public void onActivityResult(int requestCode, int resultCode, Intent data){ isRecording = false; //we are now ready to upload the file - + //http://aws.amazon.com/articles/SDKs/Android/3002109349624271 AmazonS3Client s3Client = new AmazonS3Client( new BasicAWSCredentials( AWS_ACCESS_KEY_ID, AWS_SECRET_KEY ) ); } else { |
