Hello,

I'm having a conceptual problem with a simple application.

I have an empty FrameLayout and I want for a certain event to being
continuosly repeated until the finger leaves the display.

If I apply:

### code ###

frameLayout.setOnTouchListener(new View.OnTouchListener() {

public boolean onTouch(View v, MotionEvent event) {

myEvent();

return false;
 }
});

### /code ###

I get a single instance of my event. But I want my event to be
repeated until the finger stops touching.

How can I do?

Thank you Smile

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

Reply via email to