Converting camera output to buffer/string
Hi, for sending of a camera photo in a special mode I have to convert camera/role output. This I found in API: var blobStream = Ti.Stream.createStream( { source: camera.media, mode: Ti.Stream.MODE_READ...
View ArticleByter eplacing in HTTPClient response
Hi *, in my use case the server sends gzipped datas in modified format. Befor calling of gunzipper I have to replace some bytes. Here is my code:var self = Ti.Network.createHTTPClient({ onload :...
View Articleios - captured image processed with imageAsCropped() has incorrect rotation
Hello all, I am completely stumped by this one. Full sample code below but here is a quick description (tested on iPhone5). The problem: I take a picture using the camera and in the success callback...
View ArticleHow do I create a Blob from my own generated data?
I am searching but finding any examples woefully incomplete. Here is my situation: I am trying to get pdfkit.js working in Titanium. https://github.com/devongovett/pdfkit Actually, so far, that has...
View Article