Camera Server died


Running the program in Chapter 20 and pressing Take button causes the CrimeCameraFragment to freeze, LogCat output is:

05-20 12:50:37.989: W/Camera(331): Camera server died! 05-20 12:50:37.989: W/Camera(331): ICamera died 05-20 12:50:37.989: E/Camera(331): Error 100

Anyone else having this problem?


I did. Try testing the camera in the emulater to see if it’s working. I discovered that mine didn’t. I ran it on my phone and a new emulator and it worked.