{ "id": "62212", "key": "TIMOB-1580", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:34.000+0000", "created": "2011-04-15T02:56:36.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "apidoc", "blob" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:56:34.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

I need to work with blob objects for taking images from the\ncamera and uploading them via an HTTPClient request, etc.\nUnfortunately, the blob interface isn't actually documented in the\nAPI reference for Titanium Mobile, although it's occasionally\nmentioned.

\n

Probably should appear somewhere under
\n\nhttps://developer.appcelerator.com/apidoc/mobile/latest/Titanium-mo...\n?

\n

In comparison, the Desktop API's blob class is documented:
\n\nhttps://developer.appcelerator.com/apidoc/desktop/latest/Titanium-m...
\n\nhttps://developer.appcelerator.com/apidoc/desktop/latest/Titanium.B...

{html}", "attachment": [], "flagged": false, "summary": "Titanium.Blob / TiBlob missing from Mobile API documentation", "creator": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126108", "author": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Have stumbled on at least one major API inconsistency in this\nundocumented module:

\n

\nhttps://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...

\n

Assigning to our support contact.

{html}", "updateAuthor": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:56:36.000+0000", "updated": "2011-04-15T02:56:36.000+0000" }, { "id": "126109", "author": { "name": "fernando", "key": "fernando", "displayName": "Fernando", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Are there any news about this issue?

\n

In my case, i'm running into problems when trying to create a\nblob for a webview. There is no documentation about how to do it on\nTitanium mobile and desktop code does not work. Example:

\n
\nvar html = Titanium.API.createBlob( {\n    contents : \"<html><body><p>test</p></body></html>\"\n});\n\nvar campaignsWebview = Ti.UI.createWebView( {\n    data : html\n});\n
\n

The createBlob method doesn't exist in this case.

{html}", "updateAuthor": { "name": "fernando", "key": "fernando", "displayName": "Fernando", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:56:37.000+0000", "updated": "2011-04-15T02:56:37.000+0000" }, { "id": "126110", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Definitely a dupe, because the Blob docs exist in 1.6.0RC1.\nMarking resolved.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:56:37.000+0000", "updated": "2011-04-15T02:56:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }