{ "id": "62506", "key": "TIMOB-1874", "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": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:25.000+0000", "created": "2011-04-15T03:04:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:25.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}
See Helpdesk\n44381
\nGist of discussion
\nI pulled up the API Docs \nhttp://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.AlertDialog-object\ndoesn't look like iPhone sends a close either. They do allow\nsetting the index of the cancel and the event coming back is\nsuppose to have cancel true/false
\nSo how about when the back button is hit, I set cancel to true\nin the event and if there is an index on creation, set index to\nwhat you passed on creation, otherwise -1?
(from [d32737b27765342f210a8487a24d4b4e64f0519d])\n[#1874 state:fixed-in-qa] added support for\ncancel index and cancel flag in event. \nhttp://github.com/appcelerator/titanium_mobile/commit/d32737b277653...
1.4.2.5935b3 G1 (1.6) sim with 2.2