{ "id": "63709", "key": "TIMOB-3077", "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": "11356", "description": "Mobile 1.8.0 M03", "name": "Sprint 2011-24", "archived": true, "released": true, "releaseDate": "2011-06-20" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-13T18:14:57.000+0000", "created": "2011-04-15T03:36:13.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "module_geolocation", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "17725", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "92919", "key": "TIMOB-9434", "fields": { "summary": "Android: compass event \"trueHeading\" not generated for recurring compass events", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14796", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85479", "key": "TIMOB-7408", "fields": { "summary": "Android: Geolocation - trueHeading returns undefined/null", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-13T18:15:01.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}

Ti.Geolocation sometimes produces true headings that are greater\r\nthan 360 degrees. I'm assuming that\r\ntitanium_mobile/android/modules/geolocation/src/ti/modules/titanium/geolocation/TiCompass.java\r\non line 129 just needs a bit of modular arithmetic (% 360). I'd\r\npost a patch myself, but I haven't entirely figured out how to\r\nbuild the Titanium mobile code myself. Thanks!

{html}", "attachment": [], "flagged": false, "summary": "Android: compass true heading is sometimes returned as greater than 360 degrees", "creator": { "name": "drewdara-abrams", "key": "drewdara-abrams", "displayName": "Drew Dara-Abrams", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "drewdara-abrams", "key": "drewdara-abrams", "displayName": "Drew Dara-Abrams", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130000", "author": { "name": "drewdara-abrams", "key": "drewdara-abrams", "displayName": "Drew Dara-Abrams", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

pull request: https://github.com/appcelerator/titanium_mobile/pull/80

{html}", "updateAuthor": { "name": "drewdara-abrams", "key": "drewdara-abrams", "displayName": "Drew Dara-Abrams", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:36:13.000+0000", "updated": "2011-04-15T03:36:13.000+0000" }, { "id": "156825", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reviewed.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-15T12:59:12.000+0000", "updated": "2011-06-15T12:59:12.000+0000" }, { "id": "175682", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on Ti Studio 1.0.7.201112080131\r\n

Ti Mob SDK 1.8.0.1.v20111209102124 v8/rhino

\r\nOSX Lion\r\n
Nexus S OS 2.3.6\r\n\r\nExpected behavior of true heading not being greater than or equal to 360 degrees is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-10T12:01:46.000+0000", "updated": "2011-12-10T12:01:46.000+0000" }, { "id": "177909", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening/closing to add labels", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-03T16:27:35.000+0000", "updated": "2012-01-03T16:27:35.000+0000" }, { "id": "196048", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Android giving compass true heading as undefined.Tested it on android 2.0.2 , 3.2 and 4.0.2.\r\nSDK build - 2.0.2.v20120522180515\r\nNot a regression, the behavior exists as far back as 1.8.2 at least.\r\nStudio build - 2.0.2.201205212423\r\nBelow is the logged info:\r\n05-24 13:51:59.401: D/TiAPI(3572): True heading should be less than 360 and is:undefined", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-24T23:59:26.000+0000", "updated": "2012-05-24T23:59:26.000+0000" }, { "id": "197918", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Android returns undefined for trueHeading under certain circumstances.\r\nSee TIMOB-9434.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-08T14:29:40.000+0000", "updated": "2012-06-08T14:29:40.000+0000" }, { "id": "421888", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to the time passed and lack of progress. Any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-13T18:14:58.000+0000", "updated": "2017-06-13T18:14:58.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }