{ "id": "61798", "key": "TIMOB-1166", "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": "2012-07-26T23:55:13.000+0000", "created": "2011-04-15T02:45:39.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [ { "id": "19195", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-26T23:55:13.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": "{html}

From Helpdesk issue: 3298

\n

I figured out what the problem is...
\napparently in Ti for Android, the Ti.UI.createWindow Event does not\nsupport:
\nbackgroundColor:'#fff',
\nbarColor:'#111'

\n

I figured this out using this code:

\n

// create table view event listener\ntableview.addEventListener('click', function(e)
\n{ if (e.rowData.test)
\n{ var win = null;
\nif (Ti.Platform.name == \"android\") {
\nwin = Titanium.UI.createWindow({
\nurl:e.rowData.test,
\ntitle:e.rowData.title
\n}); } else { win = Titanium.UI.createWindow({
\nurl:e.rowData.test,
\ntitle:e.rowData.title,
\nbackgroundColor:'#fff',
\nbarColor:'#111'

\n

});

{html}", "attachment": [], "flagged": false, "summary": "Android: Window Creation Issue with backgroundColor and barColor", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124991", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

We should check if this is still the case

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:45:40.000+0000", "updated": "2011-04-15T02:45:40.000+0000" }, { "id": "209479", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ti.UI.createWindow supports the backgroundColor property but does not support barColor on Android. This is already specified in the doc. Mark as Cannot Reproduce.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-25T17:21:29.000+0000", "updated": "2012-07-25T17:21:29.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }