Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('photos').onclick = function()
- {
- try
- {
- var g = Titanium.Media.openPhotoGallery(
- {
- success:function(blob,details)
- {
- imageThing = blob;
- },
- cancel:function()
- {
- },
- error:function(Error)
- {
- },
- allowImageEditing:true,
- animated:false
- });
- alert(g);
- }
- catch(E){
- alert('Exception:'+E);
- }
- };
Add Comment
Please, Sign In to add comment