I\'m a beginner with android, I\'m trying to develop a small camera application in which I have this piece of code that allows me to play with the frames from the camera.