Adding multiple images to AnimateDrawables sample code

by Madiba » Fri, 23 Apr 2010 12:38:36 GMT

Sponsored Links
I was trying to add more than one images in the AnimateDrawables under, but for some reason I couldn't. Can
anyone post a sample code on how to accomplish it or at least explain
it to me?  This beginner programmer would really appreciate it :)



Other Threads

1. Kristen schaal

Habis liat channel ini...hh android saya serasa sangat atari :(

a10 _o


2. Confused by @Override

Hi-- I am not very experienced with Java, and I am confused about overriding 
a method. I am trying to override the OnBufferDraw() method by extending 
KeyboardView, like this:

  public class PhoneticKeyboardView extends KeyboardView {

       private void onBufferDraw() {
            if (mBuffer == null || mKeyboardChanged) { ...

But when I compile it I get an error:

  cannot find symbol
    [javac] symbol  : variable mBuffer
    [javac] location: class
    [javac]         if (mBuffer == null || mKeyboardChanged) {
    [javac]             ^

Which I don't understand b/c mBuffer is defined in KeyboardView. What am I 
doing wrong. Surely I do not have to redefine every class variable of the 


3. Internet for the App

4. The server could not process your apk. Try again. (again...)

5. installing sdk

6. Android 3.0 Starter Pack - XML Verification Error

7. Regarding Image Fetching