{ "id": "76479", "key": "TIMOB-4443", "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": [], "resolution": null, "resolutiondate": null, "created": "2011-06-16T05:56:34.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-07T23:21:14.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h1. Feature\r\nExpose programatic access to preferences' titles and summaries on Android so that developers can customize what is shown by Ti.UI.Android.openPreferences().\r\n\r\nh2. Possible Usage\r\n{code:title=app.js}\r\nTitanium.App.Properties.setTitle('propKey', 'This Is A Title!');\r\nTitanium.App.Properties.setSummary('propKey', 'And this is a summary...');\r\n{code}\r\n\r\nh2. Documentation\r\nhttp://developer.android.com/reference/android/preference/Preference.html#setSummary(java.lang.CharSequence)\r\n\r\nh3. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-589371", "attachment": [ { "id": "21216", "filename": "settings.png", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-06-21T07:21:07.000+0000", "size": 55347, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Programatic Access to Preference Titles and Summaries", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "156971", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Why does this need to be programatic? Is it not definable in the preferences.xml? Please attach a full example of the titanium code to be run as a test. Also a screen shot of what currently happens and the graphic marked up to show the changes.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-16T16:39:07.000+0000", "updated": "2011-06-16T16:39:07.000+0000" }, { "id": "157270", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Attached is \"settings.png\" to demonstrate why this needs to be programmatic. The screenshot arrow labeled \"A\" demonstrates all that we can do with Titanium right now. You can only put in static text, at compile time, and that will be displayed to the user.\r\n\r\nNow look at the screenshot arrow labeled \"B\". These settings aren't editable, but they represent information outside of the Settings app that can change. Picture this as information about the database, cache size, version, latency, etc.\r\n\r\nThe \"Possible Usage\" in the original description (above) should be all that is necessary; is there something more I can include?", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-06-21T07:21:08.000+0000", "updated": "2011-06-21T07:21:08.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }