• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Frame Animation - Too many frames?

Pabrick

Newbie
Hi,

I'm making an app with several animations, with 480x320 PNG Frames.

I've got a XML for each animation.

Then I call each animation this way:
capa_sangre.setBackgroundResource(R.anim.sangcorta);
anim_sangre = (AnimationDrawable) capa_sangre.getBackground();
anim_sangre.start();

The problems is that if the animation has more than 5 frame my app close itself.
 
not sure but maybe something to do with setting the bg drawable instead of the source?

just a wild guess though
 
Back
Top Bottom