I am trying to Implement Zoom In & Out functionality in my Custom Camera.
NullPointerException: zoomControls.setVisibility(View.GONE);
In your code, params isn't ever initialized, thus its value is always null. This will result in a NullPointerException if you try to use a method on the null object. Perhaps in your constructor you should initialize it with the following:
params
NullPointerException
params = mCamera.getParameters();