The setWillNotDraw-Method is not the way to do it for games. You have to check out the LunarLander-Sample from the SDK that demonstrates how you use a Thread in conjunction with the SurfaceView to optimize the drawing speed. It's the best way to do sprite-based games.
On 21 Jul., 22:29, klirr <[email protected]> wrote: > Thanks now it works. however the reason I useSurfaceViewwas because > I tried with View first but it is way to slow. > Problem is, it still is. The redrawing just isn't anywhere fast enough > for a game. So unless it is a lot faster on the real phone this won't > cut it at all. > Is it necessary to use OpenGL for games? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

