・onTouchEvent()を用いる
・イベントでUP, DOWN, MOVE, CANCELの4つが取得可能
MotionEvent.ACTION_DOWN
MotionEvent.ACTION_UP
MotionEvent.ACTION_MOVE
MotionEvent.ACTION_CANCEL
・getX()、getY()でタッチしたx、y座標を取得する
・android:clickable = setClickable(true)が必要とのこと
※onMotionEvent は onTouchEventに変わったらしい。
ダブルタップを検出するには
GestureDetector.OnDoubleTapListenerインターフェースを使う
タッチイベント
http://www.hakkaku.net/articles/20090212-348
ロングタップ
http://www.hoge256.net/2009/09/462.html
http://www.techdoctranslator.com/android/guide/ui/ui-events