この記事は@astronaughts(A.K.A .B あすとろなんとかさん)さんが企画された Titanium Mobile Advent Calendar 2012向けの記事です。本日で13日目ですね。 参加率ヤバそうなので勢いで参加表明したけど、"early"でネタ出しちゃってもう無いよ!何かいいネタはないか!・・・とソースを探しまわってまわってまわりまくりました。ただ最近Railsばっかり触ってて特に面白そうなのが無かったので、また小ネタレベルでいかせてもうおうかと。 Titanium Mobile でサーバーと通信する場合、たいてい通信部品の HTTPClient を使うと思います。ほんとうによく使うのですが、僕は以下の2点が気に入りませんでした。 1. 通信結果を取得するコールバック関数をcreateHTTPClient時に書かないといけない → View のように addEv