title: Android camera: stopPreview vs releaseCamera
body: <p>I am making an application where I have a camera inside of a viewPager. I am wondering what would best be suited to "pause" and "resume" the camera so it doesn't hog resources when it is pre-loaded. I have the feeling that stopPreview is better suited for this as it does not release the camera but keeps it however it doesn't display the camera which is the main reason it hogs resources.</p>
  
  <ul>
  <li>Enter &amp; exit application: startCamera() &amp; releaseCamera()</li>
  <li>Tab visible &amp; not visible: startPreview() &amp; stop Preview()</li>
  </ul>
  
  <p>Would this be a good rule of thumb?</p>