I've tried this way, it can improved a little, but still not really
fixed.
Before use sleep, the FPS reduced from 35 to 15, now with sleep, it
reduced from 35 to 25.
Anybody ***REALLY*** fixed this problem?
Or, 35fps to 25fps is the best performance while pressing the screen,
and should I stop improving it and accept it?

On Oct 20, 11:50 am, 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 Ikeeppressingthe 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