[AC-3338] alloy
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2016-03-08T15:32:00.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Sharif AbuDarda |
Assignee | Shak Hossain |
Created | 2016-03-08T15:28:13.000+0000 |
Updated | 2016-03-08T15:32:00.000+0000 |
Description
Steps to Reproduce
function doClick(e) {
Titanium.API.info('You clicked the button');
var bookview = Alloy.createController('imagewin').getView();
bookview.open();
Ti.Media.openPhotoGallery({
autoHide : true,
mediaTypes : [Ti.Media.MEDIA_TYPE_PHOTO],
success : function(e) {
if (e.mediaType === Ti.Media.MEDIA_TYPE_PHOTO) {
var image = e.media;
}
},
cancel : function() {
},
error : function(err) {
Ti.API.error(err);
}
});
};
$.win.open();
Actual Result
test
Expected Result
test
Attachments
No comments