Basically I want to use SurfaceView for animation. Therefore the class implements Runnable. To experiment, I want to draw a circle. However, it shows only a black screen.
Make sure you have given Camera Permission otherwise SurfaceView shows black screen.
Camera Permission