Titanium Appcelerator Quickie: StackMob API Module Part Three - Clearly Innovative | Web and Mobile DevelopmentClearly Innovative | Web and Mobile Development

Integrating Amazon S3 simple file upload

Continuing with the series on integrating Appcelerator with StackMob, in this post we show how to upload an image to StackMob.

To make this work, you will need to setup an account with Amazon S3, please see this link for additional information and sign up for an Account with Amazon.

The tricky part to making it work is to convert the file to base64 before uploading. There might be another solution. But this is the one that worked for me.

Here is the complete code listing enjoy

Hire us to help you build your mobile application or work through issues with Appcelerator