GestureOverlayView preventing OnSingletap/onDoubletap methods to be called

by vivin joy » Tue, 25 Jan 2011 22:03:51 GMT


Sponsored Links
 Hi
    i have an custom view. in main.Xml. this custom view is laid as a
child view of the gestureOverlayView. so that gestureOverlayView is
the parent view. i have allowed my mainActivity to implement the
onGesturelistener and OnDoubleTapListener. but all the touch events
are being passed to the gestureListener of the GesturOverlayView
rather than the onSingleTap/onDown/onDoubleTap events to be called..
how do i prevent this. i need the onSingleTap event to be called when
i tap on my screen, but those touch events are passed to
gestureListener to the GestureOverLayView. pls help me on this.

  is there way for me to dynamically dispatch the touch events to the
gestureListener of my Activity rather than the gestureListener of my
GestureOverlayView.

-- 



Other Threads

1. App Icon and Label bugs with new HTC Hero phones

We just received our first complaint about this today regarding Cestos, not
sure exactly what the solution is, just wanted to add a +1 and let you know
you're not the only one :)

- Dan

On Mon, Oct 26, 2009 at 10:36 PM, Electric Imagination <




--~--~---------~--~----~------------~-------~--~----~

2. How to access assets of test project

I'd like to load some data from the assets folder of my test project.

Unfortunately AndroidTestCase.getContext().getAssets() returns an
AssetManager for the target project, not the test project.

Class android.app.Instrumentation seems to have what I am looking for:
getContext() and getTargetContext. But from where do I get an instance
of that class?

Thanks in advance,
Markus
--~--~---------~--~----~------------~-------~--~----~

3. ListActivity in Tab crashes

4. App Icon and Label bugs with new HTC Hero phones

5. Taking Screenshots from Phone using Windows 7?

6. ADC 2 rating

7. phone reboot breaks app