[android-developers] Re: multitouch for a piano

2010-07-04 Thread ArcDroid
Hi Kwan, How would I make it so that I can click two keys at once? Ontouch might give the perception of multitouch by having a faster response when playing the piano, but repeats way to fast. How do I make it play once for a single on touch? Thanks Jake On Jul 4, 7:36 am, Kwan Cheng

[android-developers] Re: multitouch for a piano

2010-07-04 Thread Lance Nanek
Ontouch might give the perception of multitouch by having a faster response when playing the piano, but repeats way to fast. How do I make it play once for a single on touch? The onTouchEvent method is called with a parameter that is an instance of MotionEvent. You need to check the action of