My Android game has sudden lag spikes sometimes. I know this is due to something going wrong. My phone has a 1GHz processor so there shouldn't be a problem. Basically I use the
Canvas class to render my entire game (I am about to learn OpenGL and don't know if this is the cause). I have a main game loop and about 4 threads. Why does it lag?
Thanks in advance.