Meegloo, the app I've talked about muchly in my video diary, will rely almost exclusively on users being able to upload content from their mobile. So tonight I got stuck into uploading audio recorded from the iPhone simulator to my local server. Not the simplest of processes as I needed to send metadata aswell, and Titanium doesn't have a way to do that out of the box. No fear though, as a very helpful post got me most of the way there.
It's possible I might not be stuffed though, for two reasons. One is that I might be able to split my request in two: send the metadata first, get a file ID back from the server, then send the actual file across, using the ID so the server knows where to put it. But from the code samples I've seen online, I'm not convinced of that just yet. The other is a very helpful tweet I just received, from @mindelusions:
@moxypark email [email protected] and we'll help you out with any issues.— Anthony Decena (@mindelusions) September 17, 2011
I reckon I'll take Anthony up on that offer, and see how far I get. I should say that this won't stop me using or recommending Titanium, but it is a blow for the "it can do virtually anything iOS can" argument. For instance, what's the point of having the facility to record video if you can't upload it somewhere? It's not like other apps can make use of those files, and Titanium isn't powerful enough (I don't think anyway) to do full-on video editing.
Anyway, it all remains to be seen.