Example of android using SurfaceView, Canvas and Threads.