{ "id": "62498", "key": "TIMOB-1866", "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": "11239", "name": "Release 1.6.0 M06", "archived": true, "released": true, "releaseDate": "2011-01-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:23.000+0000", "created": "2011-04-15T03:04:15.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "camera", "feature", "release-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:23.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}

Seen on g1 running 1.6. TiMobileSDK 1.4.2.dc7b90

\n

1.Phone>camera>basic
\n2.connect device to machine and adb logcat
\n3.take a pic and view output

\n

results:
\nW/TiMedia ( 6756): (main) [12431,2869573] bitmap not found:\ncontent://media/external/images/media/448
\nD/TiAPI ( 6756): (kroll$36) [35,2869608] Our type was:\nundefined

{html}", "attachment": [], "flagged": false, "summary": "Android: camera basic test case - unexpected output (type undefined and bitmap not found) ", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126860", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Is the image actually on the SDK card?

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:04:16.000+0000", "updated": "2011-04-15T03:04:16.000+0000" }, { "id": "126861", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

iPhone added types to media as constants. Ideally it should have\nbeen the mimetype and not a static constant. This API needs to be\nreviewed.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:04:17.000+0000", "updated": "2011-04-15T03:04:17.000+0000" }, { "id": "126862", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

The bitmap not found warning doesn't seem to occur\nanymore (and the image shows -- so that probably got fixed.)

\n

The Our type was: undefined has now changed to\nOur type was: null.

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

I went ahead and made this conform with what's happening on iOS\njust to get past this ticket, but it's kinda silly -- it's really\napple-specific and based on \nApple UTIs. This notion of \"media type\" (in the context of\nUTIs) is not really relevant to Android. Mime type is much more\ninteresting, seems to me.

\n

Hopefully Titanium.Media is up for some\nAPI-scrubbing prior to Ti2.

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

(from [797de3b284f49d2e2d6a3f98a0c86efaf551411e])\n[#1866 state:fixed-in-qa] support the mediaType\nin showCamera callback args \nhttps://github.com/appcelerator/titanium_mobile/commit/797de3b284f4...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:04:18.000+0000", "updated": "2011-04-15T03:04:18.000+0000" }, { "id": "126865", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Verified on G1/1.6 and Nexus One/2.2.1 using build #e1cb22a

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:04:18.000+0000", "updated": "2011-04-15T03:04:18.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }