2011年2月24日木曜日

TranslateAnimationクラスを利用した移動アニメーション - Movement animation using TranslationAnimation class -

このエントリーをはてなブックマークに追加
丸や四角といった形の移動アニメーションの実現にはTranslateAnimationクラスが便利です。

A TranslateAnimation class is useful to code the movement animation of shape like a circle and a square, etc.


2011年2月18日金曜日

Android実機でHello Worldと画面キャプチャ - Hello world and Capture screen on the Android device -

このエントリーをはてなブックマークに追加
今回は、Android実機でHello Worldアプリを走らせます。といっても、それ自体特に難しいことではなく、むしろ今回のメインは、実機画面をキャプチャすることです。ただ、これも簡単ですが。

Today, we run the Hello World application on the Android device. Well, that's not so difficult. Rather, today's our interest is to capture the screen on the Android device. However, it's easy, too!

2011年2月15日火曜日

Toastクラスを利用してタップした位置にトーストを表示する - Displaying a toast near the tapped position using Toast class -

このエントリーをはてなブックマークに追加
Toastクラスはテキストメッセージを素早く表示する機能を実現します。このToastクラスを利用して、画面をタップしたとき、そのタップした位置付近にトーストを出現させ、そこに座標を表示するプログラムを作りました。

A Toast class has the function displaying the textual message quickly. Using the Toast class, we coded the program that a toast appears near the tapped position, and the tapped position is displayed in the toast.


2011年2月11日金曜日

便利なオンラインストレージ - Useful online storage -

このエントリーをはてなブックマークに追加
今日はオンラインストレージサービスを紹介します。もし、DropboxやSugarsyncという言葉を聞いたことがなければ、ぜひ続きを読んでみてください。

Today we'll introduce online storage services. If you don't hear the word of Dropbox or Sugarsync, you should read this following!


2011年2月8日火曜日

onTouchEventを利用して日の丸を動かす - Moving a rising sun flag using onTouchEvent method -

このエントリーをはてなブックマークに追加
アンドロイド携帯の画面をタッチ、ドラッグしたときの動作はonTouchEventメソッドを利用することで実現できます。ここでは、日の丸をタッチしたときに色を変え、ドラッグしたときに日の丸を動かすコードを記述ています。

The operation when the screen of the android mobile phone is touched and dragged can be coded using onTouchEvent method. We described the code in which the rising sun flag is changed on its color and is moved when it is touched and is dragged.


キーボード上でクイック起動 - Quick launch on the keyboard -

このエントリーをはてなブックマークに追加
プログラムを起動させたり、ファイルやフォルダを開くのに、大抵マウスを使っていると思いますが、キーボードから手を離さずにできる方法を知っていますか?

Do you know the way to launch programs or open files and folders without leaving your hands from the keyboard in stead of using mouse?

2011年2月1日火曜日

Canvasクラスを利用して日の丸を描く - Drawing a rising sun flag using a Canvas class -

このエントリーをはてなブックマークに追加
Androidのグラフィックスに関するクラスを利用して日の丸を描きました.Canvasクラスという図形を描画するためのクラスを利用して白の四角と赤の丸を描画しました.

We drew a rising sun flag using the class that treats graphics in Android. A white rectangle and a red circle was drawn using the Canvas class that is a class to draw figures.