The shuttercallback is called, but after that the program crashes.
In the logs I find:
copyBits failed (invalid argument)
copybit failed (unknown error -22)
Using java Syntax Highlighting
- void TakePicture()
- {
- Log.i(TAG, "Try to take picture");
- try
- {
- mCamera.stopPreview();
- mCamera.takePicture(mShutterCallback, mRawCallback, mPictureCallback);
- mCamera.startPreview();
- }
- catch (Exception e)
- {
- Log.e(TAG, e.getCause() + " - "+ e.getMessage());
- }
- }
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
Can somebody help me?
I use the HTC Tattoo with Android 1.6.


