{ "id": "63795", "key": "TIMOB-3163", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11246", "name": "Sprint 2011-11", "archived": true, "released": true, "releaseDate": "2011-03-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-06T10:13:38.000+0000", "created": "2011-04-15T03:38:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "enterprise", "feature", "release-1.7.0", "reported-1.6.0", "rplist", "tooling" ], "versions": [], "issuelinks": [ { "id": "10232", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "64768", "key": "TIMOB-3699", "fields": { "summary": "Confirm TIMOB-3163", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-05-06T10:13:38.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}

Ticket #3161 needs support added to the Android build\nto allow native resources to be used in components. For example the\ncancel icon on searchbar needs to be density aware. I can also\nforsee needing localization support as well.

{html}", "attachment": [], "flagged": false, "summary": "Tooling: Android Built-in Modules Need Native Resource Support", "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": "130190", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [ff2481b711104cb7726133642b3b6268ab1f39e8])\nOops, forgot to actually add the button pngs themselves. [#3163]\n\nhttps://github.com/appcelerator/titanium_mobile/commit/ff2481b71110...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:26.000+0000", "updated": "2011-04-15T03:38:26.000+0000" }, { "id": "130191", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [87c5438f84f8469f790b2e3e41b9e4a731596b40])\nEliminate zip task warnings that were occurring for each module\nthat didn't have a res file. [#3163]\n\nhttps://github.com/appcelerator/titanium_mobile/commit/87c5438f84f8...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:26.000+0000", "updated": "2011-04-15T03:38:26.000+0000" }, { "id": "130192", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [0dc764d5d260b291e6423b4aecf6afb66696ea69])\nMove the facebook login/logout buttons also into the facebook\nmodule res folder, and change the LoginButton.java's handling of\nthe button images to use these resources. [#3163]\n\nhttps://github.com/appcelerator/titanium_mobile/commit/0dc764d5d260...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:26.000+0000", "updated": "2011-04-15T03:38:26.000+0000" }, { "id": "130193", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [17444de26227b98acb48863da827a5b21bf551fc])\nRemove \"close.png\",which is not used anywhere [#3163]\n\nhttps://github.com/appcelerator/titanium_mobile/commit/17444de26227...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:27.000+0000", "updated": "2011-04-15T03:38:27.000+0000" }, { "id": "130194", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Also these commits. Lord only knows how the agent decides to not\nlist some commits.

\n

\nhttps://github.com/appcelerator/titanium_mobile/commit/17444de26227...

\n

\nhttps://github.com/appcelerator/titanium_mobile/commit/14b5ed3c21c1...

\n

\nhttps://github.com/appcelerator/titanium_mobile/commit/26a407c3c164...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:27.000+0000", "updated": "2011-04-15T03:38:27.000+0000" }, { "id": "130195", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

QE testing:

\n

Use this app.js:

\n
\nTitanium.UI.setBackgroundColor('#000');\nvar win = Titanium.UI.createWindow({  \n    title:'Test', backgroundColor:'#000', exitOnClose: true\n});\n\n// This just ensures our Facebook module gets included \n// when the app is built.\nTi.Facebook.appid=1; \n\nwin.add( Ti.UI.createImageView({\n    image: Ti.App.Android.R.drawable.facebook_icon,\n    width: 'auto', height: 'auto'\n}));\n\nwin.open();\n
\n

When you run it, you should see the small Facebook icon. What is\nthis proving?? That facebook resources are included in your\napplication (you accessed them with the\nTi.App.Android.R.drawable.facebook_icon line of code).\nThe facebook resources got included in your app because you have a\nline of code that accesses the facebook module:\nTi.Facebook.appid=1.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:27.000+0000", "updated": "2011-04-15T03:38:27.000+0000" }, { "id": "130196", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [fe5dc17191186669f6118f91db37311fb50c6bbf])\nDrillbit test for module resource packaging [#3163]\n\nhttps://github.com/appcelerator/titanium_mobile/commit/fe5dc1719118...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:27.000+0000", "updated": "2011-04-15T03:38:27.000+0000" }, { "id": "130197", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Need to re-open this because it fails on Windows. Apparently\nPython ZipFile module as packaged in Windows does not include the\nextractall method, which I'm using for this.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:28.000+0000", "updated": "2011-04-15T03:38:28.000+0000" }, { "id": "130198", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [03daaf2fb140055184a57a0c7c14bb70c35f25b8])\nIn builder.py, when using python zipfile to get module resources,\nextract them manually since extractall() is not available in python\n2.5. [#3163] \nhttps://github.com/appcelerator/titanium_mobile/commit/03daaf2fb140...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:28.000+0000", "updated": "2011-04-15T03:38:28.000+0000" }, { "id": "130199", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

QE: Same testing instructions above (March 22nd, 2011 @ 05:35 PM\ncomment). But you may want to run it on Windows as well just to be\nsure.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:28.000+0000", "updated": "2011-04-15T03:38:28.000+0000" }, { "id": "130200", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [659ed91cdb000cb8cdc4ed0f5c86d3c0d69e9a53])\nUse the file-by-file zipfile extract on all platforms, not just\nwindows. [#3163] \nhttps://github.com/appcelerator/titanium_mobile/commit/659ed91cdb00...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:38:28.000+0000", "updated": "2011-04-15T03:38:28.000+0000" }, { "id": "133273", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on Nexus One 2.3.4", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-06T10:13:38.000+0000", "updated": "2011-05-06T10:13:38.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }