It works very well.

On 28 jan, 01:41, Moto <medicalsou...@gmail.com> wrote:
> Well what can I say thanks all for the input!
> and to bring all this issue to an end I figured out a way to make this
> shaking issue go away! with only 2 lines of code! not sure how well it
> would work for other things but in my case it works like a charm!
>
> So here is the secret!
>
> Before we had this overwrite to the main dispatchTouchEvent:
>
> public boolean dispatchTouchEvent(MotionEvent ev)
> {
>         super.dispatchTouchEvent(ev);
>         gestureScanner.onTouchEvent(ev);
>         return notScrollingMenu;
>
> }
>
> All we now do to fix the issue is first run our onTouchEvent function
> and then call our super.dispatchTouchEvent!
>
> public boolean dispatchTouchEvent(MotionEvent ev)
> {
>         gestureScanner.onTouchEvent(ev);
>         super.dispatchTouchEvent(ev);
>         return true;
>
> }
>
> I hope this helps!
> Moto!
--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to