Why isn't multi-touch working for my image buttons?
I am using picture buttons playing sounds with SoundPool. Here's a sample code for one of the image buttons:
ImageButton Button1 = (ImageButton) findViewById (R.id.sound); Button1.setOnTouchListener (new OnTouchListener () {
public boolean onTouch(View v, MotionEvent event) {
if (event.getAction() == MotionEvent.ACTION_DOWN ) {
mSoundManager.playSound(1);
return false;
}
return false;
}
});
For some reason, it doesn't let you press multiple buttons at the same time. Is it because I am building for the 1.6 SDK?
Thanks!
+2
a source to share