{ "id": "116353", "key": "TIMOB-14344", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "15111", "description": "2013 Sprint 13", "name": "2013 Sprint 13", "archived": true, "released": true, "releaseDate": "2013-07-01" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-25T16:02:48.000+0000", "created": "2013-06-21T22:16:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:42:44.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "The blob array is in the image view to support the camera to test run the camera test.\r\n\r\nvar win = Ti.UI.createWindow({layout: 'vertical'});\r\n \r\nvar button = Ti.UI.createButton({title: 'take picture'});\r\nbutton.addEventListener('click', function() {\r\n Ti.Media.showCamera({\r\n 'cancel': function() {\r\n Ti.API.info('cancel');\r\n },\r\n 'error': function() {\r\n Ti.API.info('error');\r\n },\r\n 'success': function(e) {\r\n Ti.API.info('success: size=' + e.media.length);\r\n imageView.image = e.media;\r\n }\r\n });\r\n});\r\nwin.add(button);\r\n \r\nvar imageView = Ti.UI.createImageView();\r\nwin.add(imageView);\r\n \r\nsetTimeout(function() {\r\n Ti.Media.hideCamera();\r\n}, 3000);\r\n \r\nwin.open();", "attachment": [], "flagged": false, "summary": "BlackBerry: Add blob support back to native image view", "creator": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "262456", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Could not test the issue.\n\nTesting environment:\n\nStudio: 3.1.2.201307171817\nTitanium SDK:3.1.2.v20130718094558\nacs:1.0.3\nalloy:1.1.3\nnpm:1.3.2\ntitanium:3.1.1\ntitanium-code-processor:1.0.1\nOS: OSX 10.8\nDevice:Blackberry-Z10(v 10.0.10.261)\nXcode: 4.5.1\nblackberry SDK: 10.1.0.1020\n\nGetting Studio console error as:\n\nTypeError: Object [object Object] has no method 'showCamera'\n", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-19T11:51:56.000+0000", "updated": "2013-07-19T11:51:56.000+0000" }, { "id": "265774", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix using the camera code mentioned in the description. We are able to take a pic & save it in pictures. Thus closing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.1.2.201308082014\r\nTi SDK : 3.1.2.v20130808180613\r\nMac OSX : 10.8.4\r\nAlloy : 1.2.0-alpha6\r\nCLI - 3.1.2-alpha\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-09T20:47:54.000+0000", "updated": "2013-08-09T20:47:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }