{ "id": "61774", "key": "TIMOB-1142", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:19.000+0000", "created": "2011-04-15T02:45:04.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "feature", "gallery", "ios", "iphone", "photo" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
We need to expose videos when the openPhotoGallery method is\ncalled. Right now, only photos are exposed.
\nTitanium.Media.openPhotoGallery({
\n\nsuccess:function(event)\n{\n var cropRect = event.cropRect;\n var image = event.media;\n\n // set image view\n imageView.image = image;\n\n Titanium.API.info('PHOTO GALLERY SUCCESS cropRect.x ' + cropRect.x + ' cropRect.y ' + cropRect.y + ' cropRect.height ' + cropRect.height + ' cropRect.width ' + cropRect.width);\n\n},\ncancel:function()\n{\n\n},\nerror:function(error)\n{\n},\nallowImageEditing:true,
\n
\n});
I opened a ticket here
\n\nhttps://appcelerator.lighthouseapp.com/projects/32238/tickets/1121-...
But i think it was implemented on iphone. I only test with\niphone simulator, not device. It's really strange because i saw in\ntitanium source code that it is implemented for iphone.
\nIt really annoy me because i develop an application for an\nenterprise and if this functionality doesn't exist, i should have\nto give up Titanium. Could you make the best to implement that\nquickly ?
this is actually a code issue, set
\n\nmediaTypes:[Ti.Media.MEDIA_TYPE_VIDEO,Ti.Media.MEDIA_TYPE_PHOTO]