{ "id": "88030", "key": "AC-2908", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-08-13T07:14:19.000+0000", "created": "2012-03-15T13:30:05.000+0000", "labels": [ "android", "density", "image", "splash" ], "versions": [], "issuelinks": [], "assignee": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:53.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I would add the \"sample app\", but \"Attachment is 16.59 MB but the largest allowed attachment is 10.00 MB\".\r\n\r\nA short how-to reproduce:\r\n\r\nCreate a new app with Titanium 1.8.2 (or development build 2.0, doesn't matter), don't change anything, build to actual device. \r\nStart the app in Landscape view (on a tablet device), and you have a stretched, pixelated image as your splash screen. \r\n\r\nImages that are in density specific folders are just not found, or at least the correct ones. It doesn't work by default, doesn't work with android:anyDensity property either true or false, and ti.fastdev doesn't matter as well (I have no idea why I tried). This didn't bother me until I tried my app on a tablet device.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Density specific folders do not work on Android", "creator": { "name": "methemer", "key": "methemer", "displayName": "Nauris Pukis", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "methemer", "key": "methemer", "displayName": "Nauris Pukis", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Latest Titanium Studio on Mac OS X Lion for building the app. \r\nApp tested on Samsung Galaxy Tab 10.1 (latest build) and HTC Explorer (Android 2.3.5)", "comment": { "comments": [ { "id": "188492", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "HI Nauris,\r\nCan you please send me the sample by email at shossain@appcelerator.com?\r\nThanks,", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-24T21:55:38.000+0000", "updated": "2012-03-24T21:55:38.000+0000" }, { "id": "188499", "author": { "name": "methemer", "key": "methemer", "displayName": "Nauris Pukis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sent the files. Be sure to run on actual device, error may not appear in an Emulator.", "updateAuthor": { "name": "methemer", "key": "methemer", "displayName": "Nauris Pukis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-25T00:26:59.000+0000", "updated": "2012-03-25T00:26:59.000+0000" }, { "id": "190682", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hi Nauris,\r\n\r\nI have misplaced the project file you sent me. Can you please resend?\r\n\r\nRegards,\r\nShak", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-12T02:05:12.000+0000", "updated": "2012-04-12T02:05:12.000+0000" }, { "id": "190684", "author": { "name": "methemer", "key": "methemer", "displayName": "Nauris Pukis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have re-sent the files now. \r\nPlease not that they are just a new blank project started with Titanium. Nothing is altered. The splash screens do not work on the actual devices. Best scenario test on an Android Tablet device and launch the app while in horizontal \"mode\" of the tablet device.\r\nAlthough it is the easiest to see on Tablet devices, the fault persists over all actual devices.", "updateAuthor": { "name": "methemer", "key": "methemer", "displayName": "Nauris Pukis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-12T02:36:24.000+0000", "updated": "2012-04-12T02:36:24.000+0000" }, { "id": "191130", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-16T10:54:53.000+0000", "updated": "2012-04-16T10:54:53.000+0000" }, { "id": "191522", "author": { "name": "methemer", "key": "methemer", "displayName": "Nauris Pukis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Federicio,\r\nI am going to test this if it works in 2.0.1 with background.png instead.\r\n\r\nBut this is not a solution, and the bug isn't fixed. I still have to do logic in my code, to get the proper density image from my images resources. For example on Android I have to count DPI and determine which pin image to select (from the ones I've added). \r\nIt is not a direct relation to this issue, but I think they come from the same (some kind of) underlying issue. \r\n\r\nRegards,\r\nNauris.", "updateAuthor": { "name": "methemer", "key": "methemer", "displayName": "Nauris Pukis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-17T17:43:30.000+0000", "updated": "2012-04-17T17:43:30.000+0000" }, { "id": "191524", "author": { "name": "methemer", "key": "methemer", "displayName": "Nauris Pukis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just checked - renamed all the files to background.png - Now instead of not getting the proper size, I don't get the proper image. Instead of my splash screen I get Appcelerator default splash-screen. Not sure why, but it happened. \r\n(I cleaned the project before build, didn't help).", "updateAuthor": { "name": "methemer", "key": "methemer", "displayName": "Nauris Pukis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-17T17:50:26.000+0000", "updated": "2012-04-17T17:50:26.000+0000" }, { "id": "193179", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "Using a DroidX (2.3.3 Gingerbread), a default empty project (http://www.feather.us/test4_project.zip), and my set of test images (http://www.feather.us/default_image_set.zip) I was shown a 800x480 image (default.png) in landscape (res-long-land-hdpi) and a 480x800 image (default.png) in portrait (res-long-port-hdpi) as expected.\r\n\r\nTiSDK 2.0.1GA2\r\n\r\n_wanted to add the community is welcome to steal those images for use. we assembled it to clarify end user device issues_", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2012-04-30T12:39:34.000+0000", "updated": "2012-05-13T17:31:42.000+0000" }, { "id": "194478", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Nauris,\r\n\r\ncan you still reproduce the issue?\r\nIn case you are still reproducing this issue and if you have a specific project you want to share with us but it's too big, you can also use Dropbox or sent me by email (fcasali@appcelerator.com).\r\nPlease keep in mind to delete files under 'build' folder in order to keep the app size smaller.\r\n\r\nThanks for the feedback", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-10T18:07:45.000+0000", "updated": "2012-05-10T18:07:45.000+0000" }, { "id": "213992", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid due to Stephen feedback and age with no reply.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T07:14:07.000+0000", "updated": "2012-08-13T07:14:07.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }