Monday, May 28, 2012

[android-developers] how to receive an event while moving through buttons

I am trying to implement a piano app in android. I have just 8 notes
and 8 buttons for each note. I implemented onTouch for every button,
and there is no problem when I just touch one button. But when I touch
a button and move my finger to the next one, than the onTouch function
for that button is not called and it is ignored. How can I manage to
play notes during sliding my finger on the buttons without taking my
finger up? I am really stuck here.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate