Friday, February 15, 2013

DevBytes: KeyFrame Animations

How to use AnimationDrawable to construct a keyframe animation where each frame is shown for a specified duration.

YouTube: http://www.youtube.com/watch?v=V3ksidLf7vA

Code: http://developer.android.com/shareables/devbytes/KeyframeAnimation.zip


2 comments:

a.danna said...

I wish I knew how to use this program, it would help me so much. Since I don't know how to use it I am thinking about getting some support from article writing services.

Unknown said...

Hey Chet Hasee,

How are you doing?

These days i'm working on frame animations and found that Android frame animations are really bad. app crashes up with out of memory exception.

In my case i need to animate background on a tablet so the images are sized like 1024x600 (landscape mode). i have tried every thing like creating my own thread even AsyncTask but nothings worked Good as Animations should be Smooth.

Can you help me so how to achieve this.

Many Thanks
Muhammad Babar
Android Framework Engineer