Question

Im doing some research to build an iOS and Android app using titanium appcelerator. The only requirement I have not being able to confirm is the possibility to upload a photo directly to Amazon S3 in a way that is compatible with iOS and Android devices.

Was it helpful?

Solution

Amazon S3 has provided a REST API so your can do it by creating a Titanium.Network.HTTPClient. For your upload case, you need to provide a PUT request to S3. If you want to do it in this way, you may need to include your S3 secret key in your client for signing your request.

OTHER TIPS

You might ask the developers of Titanium Appcelerator. But if you're not writing an HTML5 app, you can definitely do this with the ASIHTTPRequest framework.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top