We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I open the camera, call setUpCamera. sometimes appear this error.
This is My releaseCamera;
private void releaseCamera() { if (mCameraInstance != null) { mCameraInstance.setPreviewCallback(null); mCameraInstance.stopPreview(); mCameraInstance.release(); mCameraInstance = null; } }
The text was updated successfully, but these errors were encountered:
try to add all metods from onCreate() to onStart(). i know it's not correct, but it will work.
Sorry, something went wrong.
oh thanks. My method of setUpCamera is in OnResume(), It's work normal most. but sometimes there has the error "Method called after release() ".
No branches or pull requests
When I open the camera, call setUpCamera. sometimes appear this error.
This is My releaseCamera;
private void releaseCamera() {
if (mCameraInstance != null) {
mCameraInstance.setPreviewCallback(null);
mCameraInstance.stopPreview();
mCameraInstance.release();
mCameraInstance = null;
}
}
The text was updated successfully, but these errors were encountered: