Handle OnTouch Event inside an Activity
<p>Im Trying to handle an OnTouch Event inside an activity But I am unable to Handle MotionEvent.ACTION_UP Action. here is my code:</p>

<pre><code>boardView.setOnTouchListener(new OnTouchListener() {

        @Override
        public boolean onTouch(View v, MotionEvent event) {

            switch (event.getAction())
            {
            case MotionEvent.ACTION_DOWN:
                showToastNotification("ACTION_DOWN");
                break;
            case MotionEvent.ACTION_MOVE:
                break;
            case MotionEvent.ACTION_UP:
                showToastNotification("ACTION_UP");
                break;
            }

            return false;
        }



    });
</code></pre>

<p>Why Is That?</p>

<p>Thanks in advance </p>

<p>Kobi</p>
