{ "id": "62492", "key": "TIMOB-1860", "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:22.000+0000", "created": "2011-04-15T03:04:07.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T01:57:22.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}

Kevin getting no contacts when we're using 1.6 contacts api, but\nall his contacts when using the newer contacts api (via a custom\nnative app). He's on a Droid 2 which runs 2.2. This makes me\ncompletely distrust the deprecated contacts api.

\n

Recommend using reflection / class loaders to get at the newer\napi when it's on a phone that has it.

{html}", "attachment": [], "flagged": false, "summary": "Android: Empty contacts on Droid 2", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "126845", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [1da060f10de33e41586e76470b147f0eb95f1b7a])\n[#1860 state:open] Introduces CommonContactsApi\nto get contact information from newer contacts API when available,\nor older contacts API as fallback \nhttp://github.com/appcelerator/titanium_mobile/commit/1da060f10de33...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:04:07.000+0000", "updated": "2011-04-15T03:04:07.000+0000" }, { "id": "126846", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [b32c20551b64a2fadbb210dc0b01da141601ef99])\n[#1860] Introduction of separation of contact\napis between api levels 4 and higher. Level 4 is still called\nexplicitly until a few more level 5 methods are completed. \nhttp://github.com/appcelerator/titanium_mobile/commit/b32c20551b64a...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:04:08.000+0000", "updated": "2011-04-15T03:04:08.000+0000" }, { "id": "126847", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [6a13666e187f8630c289a2111050a15c06f9ee33])\n[#1860 state:fixed-in-qa] Finish implementing the\napi level 5+ contacts api so it has parity with our contacts api\nwhich is based on the deprecated android api. \nhttp://github.com/appcelerator/titanium_mobile/commit/6a13666e187f8...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:04:08.000+0000", "updated": "2011-04-15T03:04:08.000+0000" }, { "id": "126848", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Though only Kevin has the Droid 2 and has confirmed the problem\nis fixed on it, this was a major change to our contacts\napi, so I've put it in fixed-in-qa so QA can hammer away on the api\nand see how goes.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:04:08.000+0000", "updated": "2011-04-15T03:04:08.000+0000" }, { "id": "126849", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

closing with thanks to Kevin for confirming

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:04:08.000+0000", "updated": "2011-04-15T03:04:08.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }