{ "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
\n1.Phone>camera>basic
\n2.connect device to machine and adb logcat
\n3.take a pic and view output
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
Is the image actually on the SDK card?
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.
The bitmap not found
warning doesn't seem to occur\nanymore (and the image shows -- so that probably got fixed.)
The Our type was: undefined
has now changed to\nOur type was: null
.
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.
\nHopefully Titanium.Media
is up for some\nAPI-scrubbing prior to Ti2.
(from [797de3b284f49d2e2d6a3f98a0c86efaf551411e])\n[#1866 state:fixed-in-qa] support the mediaType\nin showCamera callback args \nhttps://github.com/appcelerator/titanium_mobile/commit/797de3b284f4...
Verified on G1/1.6 and Nexus One/2.2.1 using build #e1cb22a