Try the tutorial I sent.  Also, dont load the images into memory that's
your issue.
Save to memory cache, then read them from file right before you need to
draw them.

TimeTask already runs in a different thread, so seems like you're having a
memory issue.

On Thu, Dec 15, 2011 at 8:22 AM, Christian Bianchini <max...@gmail.com>wrote:

> Still give me the fatal error: excess VM
>
> On Dec 15, 8:57 am, Christian Bianchini <max...@gmail.com> wrote:
> > Because is giong to alloc the memory and then display the image, this
> > process looks that the application is blocked.
> >
> > I tried to run the TimerTask into a new thread but anything is
> > changed.
> >
> > On Dec 15, 1:23 am, Miguel Morales <therevolti...@gmail.com> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Why is TimerTask too slow?  Just set the time lower?
> > > This might help:
> http://developingthedream.blogspot.com/2011/01/android-canvas-frame-b...
> >
> > > On Wed, Dec 14, 2011 at 5:13 PM, Christian Bianchini <max...@gmail.com
> >wrote:
> >
> > > > I have a problem with Android and the perfomance, I should display
> > > > around 20-30 images, like a gif, in 3-4 seconds.
> >
> > > > I tried to make a TimerTask but it's too slowly and I can see only
> 3-5
> > > > images.
> >
> > > > There is a solution to play 20-30 images like a gif image? I read
> that
> > > > I can do something with the spirte.
> >
> > > > --
> > > > 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
> >
> > > --
> > > ~ Jeremiah:9:23-24
> > > Android 2D MMORPG:
> http://solrpg.com/,http://www.youtube.com/user/revoltingx
>
> --
> 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
>



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/,
http://www.youtube.com/user/revoltingx

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