title: Android MotionEvent to detect only ACTION_MOVE
body: <p>As per android <code>MotionEvent</code> documents: A change has happened during a press gesture (between <code>ACTION_DOWN</code> and <code>ACTION_UP</code>). The motion contains the most recent point, as well as any intermediate points since the last down or move event.</p>
  <p><a href="http://developer.android.com/intl/ja/reference/android/view/MotionEvent.html#ACTION_MOVE" rel="nofollow noreferrer">ACTION_MOVE Android doc</a></p>
  <p>so when i apply a <code>setOnTouchListene</code> on my view is perfectly works, It give me <code>ACTION_DOWN</code>, <code>ACTION_UP</code>, and <code>ACTION_MOVE</code></p>
  <p>but my problem is i just want to ignore a <code>ACTION_DOWN</code> events exactly before <code>ACTION_MOVE</code>. Because <code>ACTION_MOVE</code> event occur only after the <code>ACTION_DOWN</code> event as per its documents.</p>
  <p>my coding:</p>
  <pre><code>      button.setOnTouchListener(new View.OnTouchListener() {
              @Override
              public boolean onTouch(View v, MotionEvent event) {
  
                  switch (event.getAction() &amp; MotionEvent.ACTION_MASK) {
                      case MotionEvent.ACTION_DOWN:
                          Log.e(&quot;Mouse: &quot;, &quot;Click&quot;);
                          break;
                      case MotionEvent.ACTION_MOVE:
                          Log.e(&quot;Mouse: &quot;, &quot;Move&quot;);
                          break;
                  }
  
                  return false;
              }
          });
  </code></pre>
  <p>So, there is any why to ignore <code>ACTION_DOWN</code> event. Because user only want to move not want to click, and <code>ACTION_MOVE</code> is also occur <code>ACTION_DOWN</code> before it execute it self.</p>
  <p>Thanks...</p>