EZCam EZCam is an Android library that simplifies the use of Camera 2 API for a basic usage. Dependencie Add the following line in your gradle dependencies : compile 'me.aflak.libraries:ezcam:X.X' Or if you use Maven : me.aflak.libraries ezcam X.X pom TextureView Important : The Texture