problem with onclick android
<p>i've been searching the web but i find no answer to my question. I have a button, when you press it, it will play a sound. The problem is that when you touch a button on the screen it goes to the <code>onClickListener()</code> only after the button have been released. I need it to run the listener when the button is pressed not when it's released, because this cause a delay when playing the sound. I tried <code>onTouchListener()</code> and it didn't work either, because the sound get's played every time i move the finger over the button. I tried <code>onKeyDown()</code> but it won't work for screen buttons. Any ideas? Some help will be appreciated. </p>

<p>Thanks</p>
