http://gunosy-frontend.connpass.com/event/12636/ でのLT ブログに書く前にちょっと話してみた
昨年末あたりからモバイルアプリ(iPhone, Android)の開発をやっていて、新しい言語とかSDKを一気にいろいろと覚えた。Web開発ばかりやっていてスマホアプリは未体験だったので、今日はスマホアプリ開発について雑感をいろいろ書く。 Titanium Mobile 独自のSDK + JavaScriptでiOSアプリとAndroidアプリを作れるフレームワーク。やめといたほうがいいと思う。UI自体はDOMっぽい独自の物で作る+alert("hi")でアラートが出るなど、開発初期段階では高速につくれる。 しかし、問題点も多い。Titanium Mobileはプロトタイピング以外には向いてないというのが自分の感想。とっつきやすいのはいいが、ネイティブのSDKを覚える価値のほうが高く、しかも独自のSDKの学習コストも馬鹿にならない。 JavaScript自体の問題 規模が大きくなってくると
先月の tiTokyo でもチラリと発表されていましたが、 Titanium 3.1 では TableView に変わるデータ列挙用の UI コンポーネントとして、 ListView というものが登場する予定です。そして、最近の Continuous Builds でその実装が一部始まったようなので早速試してみました。 ListView とは そもそも ListView とはなんでしょうか?これまで、例えば Twitter クライアントのようなアプリケーションを構築しようと思ったら、 TableView を使って Row の上に様々な View を配置していくスタイルが Titanium では一般的でした。 多目的に使われる TableView ですが、複雑なレイアウトやイベント処理の関係でパフォーマンスに悪い影響を与えることも少なくありませんでした。そこで登場するのが ListView
この記事はあすとろなんとか@astronaughts さん主催のTitanium Mobile Advent Calendar 2012 向けに書いています。 TitaniumAdvent Calendarもう全部埋まったと思い込んでいたら明日と明後日が空いてるのにちょっとビックリ。「WebAPIにアクセスして取得できるJSON処理についての3つのTIPS」というネタ書こうと思っていたけどTIPが2個しかないからなぁ。。— hiroshi oyamada (@h5y1m141) December 18, 2012 というのが背景にあって、書いてみました。 本題 Twitterに代表されるように最近のWebサービスではそのサービスのリソースにアクセスできるようにAPIが提供されており、WebAPIを活用したiPhoneアプリ開発をすることが比較的多くあるかと思います。 WebAPIを通じて取
この記事は、Titanium mobile Advent Calendar 2012の24日目の記事です。 Titaniumでハイブリッドアプリ 去年あたりからUI部分はHTML5で構築しながらも端末の豊富な機能の利用できるハイブリッドアプリが一つのトレンドかと思います。 もちろんUIとネイティブ側どちらもJavascriptで開発できるTitaniumも充分その流れに乗る資格はあるでしょう。 しかしTitaniumのWebViewではJavascriptのエラーや動的なDOMの構造の把握が難しくお世辞にも開発環境として効率的とはいえません。 餅は餅屋 そもそもリモートサーバーとAjaxで通信するのもTitanium側にTi.App.fireEventでイベントを送るのもシリアライズされたデータの受け渡しという点では変わりがないはず。 だとすればTitanium側へのイベントの送受信をリモ
GitHub Watchまとめ ネタがなくてスキップした回もありましたが、ほぼ一年を通してピックアップを続けてきたGitHub Watchのコーナー。 ざっくりカテゴリをわけて、コメントを省略してまとめていきます。順不同です。 UI PureJS TiGrid, a Titanium module to evenly position elements https://github.com/cclafferty/TiGrid TiWebViewUserAgent https://github.com/harukazepc/TiWebViewUserAgent benCoding.Stepper Module https://github.com/benbahrenburg/benCoding.Stepper titanium-appcelerator-fields-mask https:/
Tips&Topics 2012年カテゴリ別まとめ なんでもあり情報でしたTips&Topicsをカテゴリ別・順不同にまとめてみました。 チュートリアル&入門系記事 どうしてTitanium Mobileなの? http://selfkleptomaniac.org/archives/2011 Titaniumのメリット・デメリットについて。 TitaniumMobileと他の開発手法を天秤にかけている場合に、一度目を通して頂きたい記事です。 Titanium Mobile: Building a Dribbble Gallery for iPad http://mobile.tutsplus.com/tutorials/appcelerator/titanium-mobile-building-a-dribbble-allery-for-ipad/ あまり見かけないiPad向けTi実装の
昨日、公式ブログにて公開されていた記事Breaking Changes in Titanium SDK 3.0の超訳になります。 2.1.4以前のTitanium SDKから互換性に影響する変更点として大きく5つ挙げられています。 Android関連 TabGroupの変更 AtivityIndicatorの変更 Rhinoランタイムエンジンの公式サポートの終了 1.8でdeprecatedとなっていたAPI群の除去 iOSのGroupded TableView背景に関する変更(2.1.4における変更) Android関連 TabGroup自体の変更 TitaniumからActionBarを利用するため、TabGroupの動作に変更が必要となった。このため、ActionBarの利用有無に関わらずTabGroupを利用するすべてのAndroidアプリケーションに影響します。 Action B
このドメインを購入する。 2019 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy
ここ数日はまっていたことがあり、もしかしたら似たようなことでハマるひとがいるかもしれないので、まとめておきます 実装したかったこと 左上のボタンをタッチした時に、メインの投稿一覧画面がスライドされるようなUIのアプリを作ってます 標準状態の画面 スライドした時の画面 スライド状態で、メインの投稿一覧画面から詳細画面へ遷移させたくないので、tableViewのclickイベントを無効にしたいと考えていました 最初考えた実装方法 何らかのボタンがタッチされた時にtableView.addEventListenerとtableView.removeEventListenerを設定すればいいのかと思い、以下の様な実装をしていました CoffeeScriptのサンプルソースコード。ダメなパターン table = Ti.UI.createTableView assignBtn = Ti.UI.crea
Titanium でアプリ開発でなにげに苦労したのが 「この機能をどう書くか」 でなく 「全体としてどう書くか」 のお作法というか設計よりの部分。 自分はけっこういろいろ変わったので時系列にそってまとめておきます。 ・目次(時系列順) 1.マルチコンテキスト+include (2011/6~) 2.マルチコンテキスト+include+coffeescript (2011/9~) 3.シングルコンテキスト+require(CommonJs) (2012/2~) 4.シングルコンテキスト+require+coffeescriptでクラスベース設計 (2012/3~) 5.MVCではなくMOVE(Model/Oparation/View/Event/)で (2012/5~) 6.公式に出たAlloyがデフォ?(今後?) 1.マルチコンテキスト+include(2011/6~) このころ初めて教本
Titanium mobile Advent Calendar 2012 やで! この記事は @astronaughts ことあすとろなんとかが皆様のご協力の元行なっています「Titanium mobile Advent Calendar 2012」向けに書いています。12 月 1 日 ~ 24 日まで毎日誰かが Titanium Mobile についての記事を書いていくというイベントです。 正直 “early” をやってしまったために、みんなのネタを切らしてしまったのではないかと若干後悔しております。でも、そんなのかんけーねーッ!!!(=ぜひともみなさんお気軽にご参加くださいの意) ということで参加者大大大募集!!! Titanium mobile Advent Calendar 2012 – ATND はい、さてみなさん。去年は Path 風の UI について書きましたが、その続きを書
This document contains information on how to uninstall Studio. Read all steps for the platform you will be uninstalling before starting the uninstallation process. Mac OS XQuit Axway Appcelerator Studio if it is currently running.Delete /Applications/Aptana Studio 3, /Applications/Titanium Studio, and /Application/Appcelerator Studio folders.WindowsQuit Axway Appcelerator Studio if it is currently
scrollViewをスワイプしてスライドさせたときに発火するのがscrollイベントです。 scrollしている間、scrollイベントが発火し続け、scrollが慣性で止まると、scrollEndが発火します。 以下のようなイメージ ・・・(略)・・・ [INFO] scroll x=345 [INFO] scroll x=346 [INFO] scroll x=347 [INFO] scroll x=348 [INFO] scroll x=349 [INFO] scroll x=350 [INFO] scroll x=351 [INFO] scrollEnd xはscroll時の座標です。 疑問(1) scrollEndが発火しない? scroll中にtapして強制的にscrollを止めた直後、scrollEndが発火しません。 が、tapを終えると(tapしたマウスのクリックを離す
左上にボタンを配置してそれをタッチすることで、左側にメニュー一覧が表示され、同時にメインのTableViewがスライドするUIを最近よく見かけると思います ※例えばこのような感じのUI 現在の自分のやり方としては、上記のUIの実装をするのにTi.App.Propertiesを活用しています。 CoffeeScriptでのソースになりますが、該当箇所を抜粋しておきます listBtn = Ti.UI.createButton systemButton: Titanium.UI.iPhone.SystemButton.BOOKMARKS listBtn.addEventListener('click',(e)-> if Ti.App.Properties.getBool("stateMainTableSlide") is false mainTable.animate({ duration:2
モバイルゲーム 物凄い勢いで勃興したモバイルゲーム業界は、いろいろな課題や問題に直面しながらも巨大化し、今日の時点でのスマートフォン向けゲームの市場へと継承されていきます。 モバイルゲームの歴史 2001 Javaアプリと3Dゲームの登場 Javaが利用できるようになったことにより、ダウンロード型のゲームが供給できるようになりました。 2002 携帯電話端末の大容量化・3D化競争 Java搭載携帯電話端末が登場してからごく僅か1年の間に、アプリのサイズに関しては10倍に広大化し、表現方法も2Dから3Dにシフトし始めました。J-PHONEは『ゼビウス』や『スペースハリアー』などといった昔のアーケードゲームを、ドコモはSIMCITYなどパソコンで世界的規模のヒットを飛ばしたゲームを主力商品としていました。 2003 モバイルゲームの一般化 メモリの制限が厳しいJava仮想マシン上ではなく、OS
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く