You can find some useful information in the following presentation.

http://code.google.com/events/io/sessions/WritingRealTimeGamesAndroid.html

You can skip the first 10-15 min ....

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Jul 21, 9:57 pm, peeyush varshney <[email protected]>
wrote:
> Hi,
>       How to free the memory created by Animation.....
>
>
>
> On Tue, Jul 21, 2009 at 10:25 PM, doubleslash <[email protected]> wrote:
>
> > I have a static background image, and a foreground that needs to be
> > animated. I tried a couple different approaches but the animation
> > seemed choppy.
>
> > One thing I did was having 2 different views, constantly calling
> > invalidate() on the foreground view. Another was to have only 1
> > surfaceview, redrawing the background image and the foreground on each
> > step of the animation. While a surfaceview offers an optimal way to do
> > heavy-duty animation, having to redraw the background every time kills
> > the performance. Neither produced a smooth animation.
>
> > What is the best way to perform this kind of animation--static
> > background and animated foreground?
>
> > Many thanks.
>
> --
> Thank & Regards
> Peeyush Varshney
--~--~---------~--~----~------------~-------~--~----~
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