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.
_________________
~ daliz @ datapixel.eu

--~--~---------~--~----~------------~-------~--~----~
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