Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Raw bytes from a TiBlob?

Is there anyway to grab the raw byte array from a TiBlob? I want to implement a resumable upload widget for large files (mainly images and video files) by chunking these files into sequential byte subarrays, but I can't figure out a good way of breaking a TiBlob down into fragments.

— asked March 24th 2010 by Alan McConnell
  • camera
  • image
  • iphone
  • xhr
0 Comments

5 Answers

  • I want to do this too! Help us!

    — answered April 23rd 2010 by ilya zaporojets
    permalink
    0 Comments
  • is anyone solve this issue??

    — answered September 13th 2011 by emin özcan
    permalink
    0 Comments
  • MyBlob[4] will give you an integer representing the 5th byte in the blob (the indexer is 0 based).

    — answered October 10th 2011 by Shawn Lipscomb
    permalink
    0 Comments
  • check out this post, was able to get this working, had to make some mods to some of the objective c files

    — answered November 2nd 2011 by Dereck D
    permalink
    1 Comment
    • http://developer.appcelerator.com/question/67471/how-to-get-a-mobile-tiblob-as-string#comment-102716

      — commented November 2nd 2011 by Dereck D
  • Just came across Resumable. It is intended for a DOM environment, but there may be some code that could be reused.

    — answered February 5th 2012 by Micah Alcorn
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.