While developing a camera app I\'ve encountered an exception that only happened when I switch to other app (onPause() for my app).
onPause()
01-15 17:22:1
The docs clearly say that camera.release() releases all camera resources. After this call camera reference can not be used any more.
If you want to use camera again you have to acquire it via a open(int) method.
open(int)
It's all described in the camera docs.