Share Coding

Tutorials, Problems, Stuffs …

Tag Archives: onSingleTapConfirmed

Android A powerful ImageView support touch and multi touch function

MikeOrtiz TouchImageView

Place TouchImageView.java into src/
In your res/layout/main_activity.xml

<com.example.touch.TouchImageView
	    android:id="@+id/img”
	    android:layout_width="match_parent"
	    android:layout_height="match_parent" />

 


Read more of this post

SimpleOnGestureListener.onSingleTapConfirmed no respond

This is because your device keep return false on the

SimpleOnggListener.onDown() event.
This problem will not happen if I change device no matter it is virtual device of real device.

You should override it under your GestureDetector.SimpleOnGestureListener.
PS: Do not write super.onDown and it 

Read more of this post