Android examples for User Interface:MotionEvent
create MotionEvent Action Up
//package com.java2s; import android.view.MotionEvent; public class Main { public static MotionEvent createActionUp(float x, float y) { return MotionEvent.obtain(0, 0, MotionEvent.ACTION_UP, x, y, 0); }//from w w w . j a va 2 s . co m }