Hey there.  I wanted to follow up and say that I haven't heard back
from any of my users that have the myTouch and toggling/turning off
the location services to see if it made a difference.

However, I came across something in my code which may be at least part
of the problem.  In WordUp! the user spells out words by tracing their
finger across the letters which are arranged on a square grid.

I handle onTouchEvent(MotionEvent event) calls to my view to determine
when the user first starts selecting, when they are dragging their
finger, and when the let up to do the appropriate drawing and
recording of letters during this gesture.

One thing I had not taken into consideration is the large number of
onTouchEvent calls I would get while the user is moving their finger
while it is pressed down.  I only needed to care about when their
finger enters the bounds of a new cube, and record and invalidate a
dirty rect to redraw that portion of the screen.  However, I was doing
this work on every call to onTouchEvent which was invalidating my
dirty rect many more times than it needed to.

Once I accounted for this, the drag gesture is a lot more responsive.
I haven't confirmed that this fix addresses the lag issues people have
seen using my game on the myTouch, but I'm very curious to find out.

Regards,

- Mike

On Aug 27, 1:22 pm, Mike <[email protected]> wrote:
> Thanks everyone for your input.  I'm asking some of my users to do
> what Dianne suggested with toggling the location services off and on
> to see if that is enough to alleviate this problem.  I'll let you know
> what I find out.
>
> Regards,
>
> - Mike
>
> On Aug 27, 1:20 pm, Hong <[email protected]> wrote:
>
> > Thanks for the clarification!
>
> > On Thu, Aug 27, 2009 at 3:03 PM, Dianne Hackborn <[email protected]>wrote:
>
> > > Next feature release.  I don't know what announcements have been made 
> > > about
> > > it, so I'm not in a position to say anything.
--~--~---------~--~----~------------~-------~--~----~
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