[android-developers] Frame Animation raises Memory leak error

2012-01-11 Thread Keyur
Hello all, I am facing a problem in Frame Animation in which I am using AnimationDrawable. I am having approx 200 png images inside drawable folder for 10 different animation. I am having 10 buttons for this animation. But its giving me outoferrormemory saying VM budget can't allocate this much

Re: [android-developers] Frame Animation

2011-06-15 Thread 王福健
you can try to add stop before start. src/project.java final AnimationDrawable yourAnimation; imageView.setBackgroundResource(R.drawable.anim); yourAnimation = (AnimationDrawable) imageView.getBackground(); yourAnimation.stop();

Re: [android-developers] Frame Animation

2011-06-15 Thread Look
Hi , Thank you for the suggestion. i tried by adding stop() ,but still i didn't get the result. Do you have any other idea? Thanks in advance Cibin -- 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] Frame Animation

2011-06-10 Thread Look
Hi, I'm trying to implement Animation in my projectbut i have no luck Below i will mention the code which i used. res/drawable/anim animation-list xmlns:android=http://schemas.android.com/apk/res/android; android:oneshot=false item android:drawable=@drawable/load0

[android-developers] Frame Animation or Movie file f or short interactive “movie”

2010-07-23 Thread justinl
Hello, In it's simplest explanation, I'm making a really small interactive movie app on Android. In a nut shell, when the app is loaded, it will play a short movie (maybe a few seconds at most @ 12-24fps). I will then have 2 buttons displayed on the screen, and depending on what button is