How to filter MotionEvent.getAction() on API level 3 (no ACTION_MASK present)
<p>Im writing an <code>OnTouchListener</code>. I found out that I can check for the ActionType by using bit-operations like</p>

<pre class="lang-java prettyprint-override"><code>if ((event.getAction() &amp; MotionEvent.ACTION_MASK) == MotionEvent.ACTION_MOVE)
</code></pre>

<p>however <code>MotionEvent.ACTION_MASK</code> is not present in Android 1.5 (API level 3)
How is/was it done there?</p>
