On Tue, Mar 22, 2011 at 6:44 PM, Jeffrey <jeffisagen...@gmail.com> wrote:

> Also, the entire animation loop is almost instantly, the problem comes
> from the Handler.postDelayed() not calling on time, no matter what I
> set the desired FPS at, I can't get above 6 FPS, and I no longer think
> it has anything to do my drawing code but maybe the way something else
> is handled. I stripped down google's example livewallpaper, so I don't
> know if it's lacking any optimizations or anything.
>

Have you tried profiling your code?  That is a good first thing to do.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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