Is this really the best way to solve this problem?  Sleeping in an
on*Event just sounds wrong.

On Oct 19, 8:50 pm, Nightwolf <[email protected]> wrote:
> Try this solution
>
> public boolean onTouchEvent(final MotionEvent event) {
>                 try {
>                         Thread.sleep(50);
>                 } catch (final InterruptedException e) {
>                 }
>                 return super.onTouchEvent(event);
>         }
>
> On Oct 19, 7:00 am, Eric Wang <[email protected]> wrote:
>
> > Hi all,
>
> > I found that if I keep pressing the touch screen, the app will slow
> > down very much. Both happened in my code and the sample app.
>
> > The same issue happened to me on Windows Mobile, but not happened on
> > Symbian. Anybody have some clew to fix it?
>
>
--~--~---------~--~----~------------~-------~--~----~
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