Android - Touch event stops working
<p>This is my touch event:</p>

<pre><code>.myImageViewsetOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
switch (event.getAction() &amp; MotionEvent.ACTION_MASK) {
case MotionEvent.ACTION_MOVE:
//OUTPUT TRACE
</code></pre>

<p>The problem is, after moving around a bit, it stops outputing under action move.</p>

<p>What am I doing wrong?</p>

<pre><code>myImageView.setOnTouchListener(new View.OnTouchListener() {
        public boolean onTouch(View v, MotionEvent event) {

            int myX = (int)event.getX();
            int myY = (int)event.getY();
            int color = pngTestBM.getPixel(myX,myY); // x and y are the location of the touch event in Bitmap space
            int alpha = Color.alpha(color);

            switch (event.getAction()) {


            case MotionEvent.ACTION_DOWN:


                if(alpha==0){
                    System.out.println("blank");
                }
                else{
                    System.out.println("no");

                }


            break;

            case MotionEvent.ACTION_UP:

            break;

            case MotionEvent.ACTION_MOVE:



                if(alpha==0){
                    System.out.println("blank");

                }
                else{
                    System.out.println("no");
                }



            break;

            }
            return true;
        }
    });
</code></pre>
