开发者

How do you save images to Amazon S3 from android camera?

开发者 https://www.devze.com 2023-01-23 09:34 出处:网络
I am making and app on android开发者_JS百科 that takes pictures using your camera, I then want to save this image to S3, but I am not sure how to do this. Taking picture on Android: here, here

I am making and app on android开发者_JS百科 that takes pictures using your camera, I then want to save this image to S3, but I am not sure how to do this.


Taking picture on Android: here, here

Uploading file to Amazon S3: here

Edited: seems that the easiest way to upload to Amazon S3 is JetS3t. It needs a little tweak to work on Android.


There is now an Amazon-supported Android SDK: http://aws.amazon.com/sdkforandroid/ . It's only been out since the end of 2010, but it seems to work well - it allowed me to upload a photo to S3 with 4 lines of code.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号