I used a ZXing library to develop a barcode scanning application.When I used my Atrix2 and HTC EVO 3D to test the application.It works but it did not work with Alcatel ot986.It just did not response with black screen.After that I opened the default camera application,it showed that the phone could not find the camera.After restarting the phone,the camera is OK.
Share
Did you release the camera when you were done using it?
http://developer.android.com/reference/android/hardware/Camera.html