View Single Post
Old May 4th, 2010, 07:38 AM   #4 (permalink)
Boogs
Junior Member
 
Join Date: Apr 2010
Posts: 85
 
Device(s):
Thanks: 0
Thanked 16 Times in 15 Posts
Default

Well, it seems usually calling animation "start" or similar calls in onCreate can be problematic because all the views haven't finished their "setup". Check out the note at the bottom of the Android developer 2D graphics page which basically says the same thing.

As for an example, I don't have any great examples for you. But, you might want to check out the Android examples Jet Boy or Lunar Lander for some examples of drawing on a canvas SurfaceView. Then integrate your AnimationDrawable in a similar manner.

Boogs
Boogs is offline  
Reply With Quote
The Following User Says Thank You to Boogs For This Useful Post:
alostpacket (September 12th, 2011)