Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1580] Titanium.Blob / TiBlob missing from Mobile API documentation

GitHub Issuen/a
Resolution Date2011-04-17T01:56:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
Labelsapidoc, blob
ReporterBrion Vibber
AssigneeReggie Seagraves


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

Probably should appear somewhere under
https://developer.appcelerator.com/apidoc/mobile/latest/Titanium-module"> https://developer.appcelerator.com/apidoc/mobile/latest/Titanium-mo... ?

In comparison, the Desktop API's blob class is documented:
https://developer.appcelerator.com/apidoc/desktop/latest/Titanium-module"> https://developer.appcelerator.com/apidoc/desktop/latest/Titanium-m...
https://developer.appcelerator.com/apidoc/desktop/latest/Titanium.Blob-object"> https://developer.appcelerator.com/apidoc/desktop/latest/Titanium.B...


  1. Brion Vibber 2011-04-15

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

    https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/1656-api-inconsistency-tiblob-has-length-property-on-android-size-on-ios"> https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...

    Assigning to our support contact.

  2. Fernando 2011-04-15

    Are there any news about this issue?

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

       var html = Titanium.API.createBlob( {
           contents : "<html><body><p>test</p></body></html>"
       var campaignsWebview = Ti.UI.createWebView( {
           data : html

    The createBlob method doesn't exist in this case.

  3. Stephen Tramer 2011-04-15

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

JSON Source