{ "id": "85305", "key": "TIMOB-8672", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13404", "description": "Sprint 2012-12 Core", "name": "Sprint 2012-12 Core", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-15T17:16:53.000+0000", "created": "2012-01-23T10:24:04.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "geolocation", "qe-port" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "17724", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "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": "24644", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "108056", "key": "DE-231", "fields": { "summary": "KitchenSink: Geolocation example is stupid", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-01-17T15:59:30.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": "For a location like Boston, MA, the magnetic declination should be about -15.\r\niPhone handles this correctly by subtracting 15 from the magnetic heading, giving me a true heading that is more accurate than the magnetic heading.\r\nOn the other hand on both the Droid and HTC incredible I tested, the true heading actually ADDS 15 to the magnetic heading, making the true heading about 30 degrees off in the Boston area and making it more inaccurate than the magnetic heading.\r\n", "attachment": [], "flagged": false, "summary": "Android: Compass True Heading - Magnetic declination seem to be added in the opposite direction", "creator": { "name": "yuzhi", "key": "yuzhi", "displayName": "Yuzhi Zheng", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "yuzhi", "key": "yuzhi", "displayName": "Yuzhi Zheng", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "190484", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "@Yuzhi Zheng Can you provide info about the environment? i.e. Titanium SDK, Android OS, device specs, reproduction steps and code.\r\n\r\nThat will help to narrow down the issue and fix potential bugs quicker.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-10T14:35:12.000+0000", "updated": "2012-04-10T14:35:12.000+0000" }, { "id": "190512", "author": { "name": "yuzhi", "key": "yuzhi", "displayName": "Yuzhi Zheng", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Titanium Studio, build: 1.0.7.201112281340\r\nAndroid OS both 2.2 and 2.3\r\n\r\nDroid running 2.2 and HTC incredible running 2.3\r\n\r\nUsing Kitchen Sink to show both magnetic heading and true heading should be enough to show the problem.\r\n\r\nAny other information I should provide?\r\n", "updateAuthor": { "name": "yuzhi", "key": "yuzhi", "displayName": "Yuzhi Zheng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-10T16:24:38.000+0000", "updated": "2012-04-10T16:24:38.000+0000" }, { "id": "190513", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "- Titanium SDK i.e. 1.8.2, 2.0, \r\n- Reproduction steps i.e. Goto KS demos / Phone Tab / Geolocation, Views / Map Views\r\n", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-10T16:34:44.000+0000", "updated": "2012-04-10T16:34:44.000+0000" }, { "id": "198174", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "See test code for TIMOB-9434. \r\n\r\nWithout fix, run app. Press \"Get Heading\" button to ensure that a true heading is available.\r\nNote the difference between the true heading and the magnetic heading. \r\n\r\nUse the NOAA website to determine the appropriate declination correction for your area:\r\n\r\nhttp://www.ngdc.noaa.gov/geomag-web/#declination\r\n\r\n(Hint: for Mountain View, the correction is approximately +14 degrees.) \r\n\r\nCompare this to the true heading on the device, and note that the correction is applied in reverse. That is, if the appropriate correction is 14 degrees, the true heading is showing 14 degrees *less* than the magnetic heading instead of 14 degrees more.\r\n\r\nWith the fix, run the app. Note that the correction goes in the expected direction.\r\n\r\nFor extra credit, or if you're a bit shaky on your map and compass skills, run the app on iOS, and note that the difference between the magnetic and true headings more or less matches the Android app post-fix. (The compass headings themselves may differ between the devices, but the difference between the two readings should be about the same--that is, a magnetic heading of 346 should correspond to a true heading of around 0, assuming you're in Mountain View in June of 2012.)\r\n\r\n\r\n", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-12T11:09:33.000+0000", "updated": "2012-06-12T11:09:33.000+0000" }, { "id": "198181", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Addressed in PR:\r\nhttps://github.com/appcelerator/titanium_mobile/pull/2373", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-12T11:27:51.000+0000", "updated": "2012-06-12T11:27:51.000+0000" }, { "id": "234823", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed/ used Sample code from TIMOB-9434.\nTested with:\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK, build: 3.0.0.GA \nDevice:\nHTC-EVO 4.0.3\n\nNote: KS is not really helpful to test this issue. Refer to TIMOB-12325", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-17T15:57:37.000+0000", "updated": "2013-01-17T15:57:37.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }