{ "id": "109450", "key": "AC-2479", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-04-08T20:37:44.000+0000", "created": "2013-02-08T19:54:34.000+0000", "labels": [ "android", "defect" ], "versions": [], "issuelinks": [ { "id": "34058", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "107637", "key": "AC-2211", "fields": { "summary": "Android: Ti.UI.createImageView will not load large JPG", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:31.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Large images not taken with the device's camera and selected from the gallery will not display in imageView:\r\n\t\r\n{code:title=Bar.java|borderStyle=solid}\r\nvar win1 = Ti.UI.createWindow({backgroundColor : 'blue'});\r\nvar TheImage = Ti.UI.createImageView({});\r\nwin1.add(TheImage);\r\nwin1.open();\r\nTi.Media.openPhotoGallery({success:function(e){TheImage.image=e.media;}});\r\n{code}\r\n\r\nPlace the attached pictures in the directory \"/sdcard/DCIM\" then run the app and select \"MyPictureSmall\" from the gallery. Notice that shows on the screen. Running the app again, this time selecting \"MyPicture\", this one will not be displayed!\r\n\r\nThank you,\r\n\r\nPete\r\n", "attachment": [ { "id": "35498", "filename": "MyPicture.jpg", "author": { "name": "peteberry@ewrinc.com", "key": "peteberry@ewrinc.com", "displayName": "Pete Berry", "active": true, "timeZone": "America/New_York" }, "created": "2013-02-08T19:54:34.000+0000", "size": 2448160, "mimeType": "image/jpeg" }, { "id": "35499", "filename": "MyPictureSmall.jpg", "author": { "name": "peteberry@ewrinc.com", "key": "peteberry@ewrinc.com", "displayName": "Pete Berry", "active": true, "timeZone": "America/New_York" }, "created": "2013-02-08T19:54:34.000+0000", "size": 55998, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: Large images selected from gallery are not getting displayed in imageView", "creator": { "name": "peteberry@ewrinc.com", "key": "peteberry@ewrinc.com", "displayName": "Pete Berry", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "peteberry@ewrinc.com", "key": "peteberry@ewrinc.com", "displayName": "Pete Berry", "active": true, "timeZone": "America/New_York" }, "environment": "Android 4.1.1 on Galaxy Nexus\r\nAndroid 4.1.2 on Nexus 7\r\nAndroid 2.2 Emulator (HVGA)\r\nTiSDK 3.0.2.v20130117100201 and 3.0.0.GA.", "comment": { "comments": [ { "id": "246490", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on samsung galaxy s3 on 3.0.2GA pictures appeared normally. Could not reproduce.", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-08T20:37:35.000+0000", "updated": "2013-04-08T20:37:35.000+0000" }, { "id": "286492", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nI tested this this issue with the code below. I can’t reproduce this issue. It’s working fine for me. Please check this code with the latest Ti SDK Build and let me know if this problem persists.\r\n\r\nh5. Test Environment\r\n\r\nMac OS X 10.8.5\r\nTi SDK 3.2.0.GA\r\nTi CLI 3.2.0\r\nIOS 7.0.3\r\nAndroid SDK: 4.2.2,\r\nWindows 7\r\n\r\nh5. Test Code\r\n\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : '#000',\r\n\tlayout : 'vertical'\r\n \r\n});\r\n \r\nvar frmgalary = Ti.UI.createButton({\r\n\ttitle : 'Go_To_Galary',\r\n\tcolor : '#000',\r\n\twidth : Ti.UI.SIZE,\r\n\theight : Ti.UI.SIZE,\r\n\tfont : {\r\n\t\tfontSize : 14,\r\n\t},\r\n\ttop:10\r\n});\r\n \r\nwin.add(frmgalary);\r\n \r\nvar anImageView = Ti.UI.createImageView({\r\n\twidth : Ti.UI.SIZE,\r\n\theight : Ti.UI.SIZE,\r\n\ttop : 20,\r\n});\r\nwin.add(anImageView);\r\n \r\nfrmgalary.addEventListener('click', function() {\r\n\tTi.Media.openPhotoGallery({\r\n\t\tmediaTypes : [Ti.Media.MEDIA_TYPE_PHOTO],\r\n\t\tsuccess : function(e) {\r\n\t\t\tanImageView.image = e.media;\r\n \r\n\t\t},\r\n\t\tcancel : function() {\r\n\t\t},\r\n\t\terror : function(err) {\r\n\t\t}\r\n\t});\r\n});\r\n \r\n \r\nwin.open();\r\n{code}\r\n\r\n\r\nThanks ", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-02T16:26:20.000+0000", "updated": "2014-01-02T23:42:20.000+0000" }, { "id": "288349", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing since the issue can't be reproduced with TISDK 3.2GA.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-15T22:33:58.000+0000", "updated": "2014-01-15T22:33:58.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }