Android turning clicks into touches
<p>I have an on click listener:</p>

<pre><code>whiteKeyPressedArray[i].setOnClickListener(new View.OnClickListener() {
               public void onClick(View v) {
}}
</code></pre>

<p>I see that this allows touches:</p>

<pre><code>public boolean onTouch(View v, MotionEvent event) {

//Switch case for type of touch
}
</code></pre>

<p>But how can I detect touch rather than click on my whiteKeyPressedArray[i]?</p>

<p>Thanks!</p>
