{ "id": "141956", "key": "TIMOB-18275", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-12-22T23:35:35.000+0000", "created": "2014-12-20T00:30:51.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "44299", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "141955", "key": "TIMOB-18274", "fields": { "summary": "iOS: Images property cannot load array of images from the applicationDataDirectory", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-12-22T23:35:39.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h5. This is not a regression. This issue is reproducible with SDK 3.4.1.GA as well.\r\n\r\nh5.Description:\r\n1. Use the code below in your app.js:\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\n \r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Test',\r\n backgroundColor:'#fff'\r\n});\r\n \r\nvar image2 = Titanium.UI.createImageView({\r\n top: 30,\r\n images: ['KS_nav_ui.png','KS_nav_ui.png']\r\n});\r\n\r\nwin2.add(image2);\r\n \r\nwin2.open();\r\n{code}\r\nOR\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\n \r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Test',\r\n backgroundColor:'#fff'\r\n});\r\n \r\nvar image1 = Titanium.UI.createImageView({\r\n top: 10,\r\n image: \"/appicon.png\"\r\n});\r\n \r\nvar icon = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'appicon.png');\r\nvar dest = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, 'appicon.png');\r\n \r\ndest.write(icon.read());\r\n \r\nvar image2 = Titanium.UI.createImageView({\r\n bottom: 10,\r\n images: [Ti.Filesystem.applicationDataDirectory + 'appicon.png',Ti.Filesystem.applicationDataDirectory + 'appicon.png',Ti.Filesystem.applicationDataDirectory + 'appicon.png']\r\n});\r\n \r\nwin2.add(image1);\r\nwin2.add(image2);\r\n \r\nwin2.open();\r\n{code}\r\n\r\n2. Build & run on an android device.\r\n\r\nh5.Actual Result:\r\n1. We do not see the images specified in the array for the 'images' property.\r\n2. This issue is seen for strings, remote URL's & Titanium.Filesystem.Files.\r\n\r\nh5.Expected Result:\r\n1. We should see the images specified in the array for the 'images' property.", "attachment": [], "flagged": false, "summary": "Android: 'Images' property for imageView does not work", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 3.4.1.201410281743\r\nTi SDK : 3.5.0.v20141219144914\r\nCLI : 3.4.1\r\nAlloy : 1.5.1 GA\r\nCode Processor : 1.1.1\r\nMAC Yosemite : 10.10\r\nNexus 5 - Android 5.0.1", "comment": { "comments": [ { "id": "337370", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified that you will need to call the ImageView.start() method in order to view the animation on the window.\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 3.4.1.201410281743\r\nSDK build: 3.5.0.v20141222103320, 3.4.1.GA\r\nCLI: 3.4.1\r\nAlloy: 1.5.1\r\nXcode: 6.2 beta 3\r\nDevices: Samsung Galaxy S4 (4.4.4)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-22T23:35:01.000+0000", "updated": "2014-12-22T23:35:01.000+0000" }, { "id": "337371", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-22T23:35:24.000+0000", "updated": "2014-12-22T23:35:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }