title: Android drawing method running slow
body: <p><strong>Greeting everyone!</strong>
  I´m trying to convert from C# XNA 4.0 to Java Android dev in Java. First, I HAVE to say that Microsoft did really great job about game development for their mobile platform. It´s a shame that around twenty people around the world actually own one of Win Mob 7.* phones...<br>
  Developing in XNA is really easy to understand and everything is done for you.
  But I wanted to get my apps to people, not just to friends of Bill or whoever has those few WM phones...</p>
  
  <p>And here came trobles...
  I can´t even draw ONE! bitmap with satisfying speed.
  I went through this book:</p>
  
  <p>(www.apress.com/9781430230427) Beginning Android Games by Mario Zechner</p>
  
  <p>So I thought it won´t be that bad - actually drawing. But, ...
  I tried different styles of drawing...one from the book (presenting Screen class to RenderView), then method from this tutorial <a href="http://www.edu4java.com/androidgame/androidgame3.html" rel="nofollow">http://www.edu4java.com/androidgame/androidgame3.html</a> and then the simpliest 
  <a href="http://mikeyhogarth.wordpress.com/2010/10/09/how-to-develop-pong-for-android/" rel="nofollow">http://mikeyhogarth.wordpress.com/2010/10/09/how-to-develop-pong-for-android/</a> pong with primitives. </p>
  
  <p>I can´t understand, why even drawing primitives and moving 3 primitive objects can be such slow. </p>
  
  <p>I tried to move 1! bitmap (from the edu4java tutorial) and <strong>it couldn´t move constantly</strong>. 
  Even if I applied the sleep() method for pausing Thread and renedering in 10( or 20(or 30)) FPS, it was still horrible.
  I tried it in the emulator (much worse than the Microsoft one) as well as real device (Wildfire S)</p>
  
  <p>Ok, ok, Wildfire S isn´t the fastest Android ever, but drawing ONE! bitmap can´t be that hardcore.</p>
  
  <p>And I know I have to have a new Thread for drawing, I have to do it via SurfaceView, to draw to a Canvas, etc.</p>
  
  <p>I couldn´t find anything around the interwebs that would help me.
  I hope it could be the simpliest answer ever and I would look like a gratest noob in internet history, but I will bear it...</p>
  
  <p>Is there enybody who knows what to do better?</p>
  
  <p>(I am not using OpenGL EP since I am interested only in simple 2D games (yet))</p>
  
  <p>Thank you even for reading.</p>
  
  <p><em>Erhan</em></p>