{ "id": "93738", "key": "TIMOB-10419", "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": "16092", "description": "2014 Sprint 08", "name": "2014 Sprint 08", "archived": true, "released": true, "releaseDate": "2014-04-24" }, { "id": "16093", "description": "2014 Sprint 08 SDK", "name": "2014 Sprint 08 SDK", "archived": true, "released": true, "releaseDate": "2014-04-24" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-04-18T23:23:10.000+0000", "created": "2012-06-24T14:57:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_api", "parity", "qe-testadded" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-04-23T23:29:34.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": "Customer is asking for being able to use proximity sensor functions for Android.\r\n\r\nProximity Sensor API are currently available for iOS only: http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.App-property-proximityDetection", "attachment": [], "flagged": false, "summary": "Android: Add API for supporting the Android Proximity Sensor functions", "creator": { "name": "redrocket", "key": "redrocket", "displayName": "Eric Dean", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "214001", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Eric,\r\n\r\nI'm moving your request to TiMob feature request section of Jira.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T08:25:23.000+0000", "updated": "2012-08-13T08:25:23.000+0000" }, { "id": "292054", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Added support for proximity sensor\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5341", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-02-08T18:45:17.000+0000", "updated": "2014-02-08T18:45:17.000+0000" }, { "id": "292055", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Test case\n\nBring the phone near to the ear, the proximity value will change and event is fired.\n\n var win = Titanium.UI.createWindow({ \n\t backgroundColor:'#fff'\n\t});\n\tTi.App.proximityDetection=true;\n\tTi.App.addEventListener('proximity', function(e) {\n\t\tTi.API.info(\"Proximity = \" + e.state);\n\t\t});\n\tTi.API.info(\"Proximity State = \" + Ti.App.proximityState);\n\twin.open();", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-02-08T18:49:01.000+0000", "updated": "2014-02-08T18:49:01.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }