This example describes how to create a SurfaceView with a dedicated drawing thread.
This implementation also handles edge cases such as manufacture specific issues as well as starting/stopping the thread to save cpu time.
import android.content.Context;
import android.graphics.Canvas;
import and...