Skip to content

Titanium Mobile Amazon S3 (Alloy Compatible Library)

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt
Notifications You must be signed in to change notification settings

stereoket/Ti-Amazon-S3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ti Amazon S3

This app demonstrates how you can upload media files directly to an Amazon S3 bucket, rather than routing requests through a proxy server, via Amazon's REST API. It also shows how commonJS can be used to build scaleable Titanium applications.

To use this app, you will need an Amazon account. Obtain S3 credentials: https://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key

Upload an image, then visit the bucket: https://s3.amazonaws.com/BUCKETNAME/FILENAME.png

This app requires the following modules: SHA-AWS, UTF-8, Date (see modules folder).

Images

Screen: iPhone

Usage

How to use this module:

var AWS = require('modules/amazon').load();
   
AWS.config({
	key: 'YOUR KEY',
	secret: 'YOUR SECRET',
	bucket: 'YOUR BUCKET',
	GSM:' -0700',
	debug:true,
	onsendstream: function(e) {},
	error: function(e) {},
	success: function(e) {}
});

AWS.PUT(FILENAME);

Known Issues:

Android compatibility. Currently the app is not functional with Android.

Requirements

  • Titanium SDK 1.8+

License

@authors

@license

Copyright (c) 2011, Semantic Press, Inc. http://www.semanticpress.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Titanium Mobile Amazon S3 (Alloy Compatible Library)

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.9%
  • CSS 7.1%