2013-08-01から1ヶ月間の記事一覧

Rubotoを使い、AndroidでAsyncTask + ProgressDialogを使う

Rubotoで AsyncTaskとProgressDialogを使ったところ、いろいろとハマったのでメモ。 ■環境 Platform JDK ant Ruby ruboto jruby-jars Device API level Windows7 x64 1.7.0_25 1.9.1 RubyInstaller 1.9.3-p448 0.13.0 1.7.4 Nexus7 2012 android-17 ■生成 ru…

Rubotoを使い、AndroidでAsyncTaskを使う

Androidで非同期処理を行うAsyncTaskがあったため、Rubotoでサンプルを作ってみたときのメモ。 ■環境 Platform JDK ant Ruby ruboto jruby-jars Device API level Windows7 x64 1.7.0_25 1.9.1 RubyInstaller 1.9.3-p448 0.13.0 1.7.4 Nexus7 2012 android-1…

Rubotoを使い、AndroidでNFCのIDmやNFC規格ごとの情報を読み取る

RubotoではどのようにNFCを読み取ればよいかを調べ、Androidのメソッドを利用して情報を読み取ったときのメモ。 環境 Platform JDK ant Ruby ruboto jruby-jars Device API level Windows7 x64 1.7.0_25 1.9.1 RubyInstaller 1.9.3-p448 0.13.0 1.7.4 Nexus7…

Rubotoを使い、Androidで動的にTextViewなどを追加・削除する

Rubotoで画面を作る方法は分かったものの、あとからTextViewなどを追加・削除する方法が分からなかったため、いろいろと調べた時のメモ。 ■環境 Platform JDK ant Ruby ruboto jruby-jars Device API level Windows7 x64 1.7.0_25 1.9.1 RubyInstaller 1.9.3…

Rubotoを使い、AndroidのActionBar上にFragmentを使ったTabを作る

RubotoでActionBar上にTabが表示されるかを試してみたときのメモ。 ■環境 Platform JDK ant Ruby ruboto jruby-jars Device API level Windows7 x64 1.7.0_25 1.9.1 RubyInstaller 1.9.3-p448 0.13.0 1.7.4 Nexus7 2012 android-17 ■注意 前回 同様、初回起…

RubotoでActionBar上にPopupMenuを作る

RubotoのTutorials and examplesには「Tutorial: Add a menu」「Tutorial: Add a context menu」とあります。 ただ、ActionBar上のPopup Menuに関するチュートリアルがなかったため、試してみました。 ■環境 Platform JDK ant Ruby ruboto jruby-jars Device…