{ "id": "103735", "key": "TIMOB-11855", "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": null, "resolutiondate": null, "created": "2012-10-21T15:36:11.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [ { "id": "23435", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "98423", "key": "TIMOB-10260", "fields": { "summary": "Android: Ti.App.Properties 'change' event parity for Android", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:04:25.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Improvement description*\r\nTi.App.Properties.addEventListener('change', onChange);\r\nshould support Ti.UI.Android.openPreferences\r\n\r\n*Pull request*\r\nSee comment.\r\n\r\n*Test case*\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\nTi.App.Properties.addEventListener('change', function(){\r\n alert('property changed'); \r\n});\r\nvar button = Ti.UI.createButton({\r\n width:100,\r\n height:35,\r\n title:'click',\r\n top:10\r\n});\r\nbutton.addEventListener('click', function(){\r\n var value = Ti.App.Properties.getInt('testprop');\r\n value += 1;\r\n Ti.App.Properties.setInt('testprop', value); \r\n});\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Ti.App.Properties change event should support Ti.UI.Android.openPreferences", "creator": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "environment": "titanium 3.1.0 master\r\nandroid 4.0.3\r\ndevice/ simulator", "comment": { "comments": [ { "id": "224582", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "pull request https://github.com/appcelerator/titanium_mobile/pull/3309", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2012-10-21T15:37:57.000+0000", "updated": "2012-10-21T15:37:57.000+0000" }, { "id": "230561", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "new test case to test Ti.UI.Android.openPreferences\r\nYou ll need the attached preferences.xml\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\nTi.App.Properties.addEventListener('change', function(){\r\n alert('property changed'); \r\n});\r\nvar button = Ti.UI.createButton({\r\n width:100,\r\n height:35,\r\n title:'click',\r\n top:10\r\n});\r\nbutton.addEventListener('click', function(){\r\n Ti.UI.Android.openPreferences(); \r\n});\r\nwin.add(button);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2012-12-08T10:03:15.000+0000", "updated": "2012-12-08T10:03:15.000+0000" }, { "id": "230562", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "i dont see how i can add an attachment to this bug. it seems i cant anymore :s", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2012-12-08T10:04:58.000+0000", "updated": "2012-12-08T10:04:58.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }