I am using a SurfaceView and a rendering thread to develop a game based on structure like LunarLander.
However, I faced many problems, and here I want to point them
the solution is here
public void surfaceCreated(SurfaceHolder holder){ if (plot_thread.getState() == Thread.State.TERMINATED) { plot_thread = new WaveformPlotThread(getHolder(), this); plot_thread.setRunning(true); plot_thread.start(); } else { plot_thread.setRunning(true); plot_thread.start(); } }