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
Hi everyone, I have a problem with camera. I sometimes get error, but sometimes it works well.
Here is my error log.
02-24 17:23:27.390 19600-19600/com.vuzix.m100empty E/ScannerLiveView: n/a 02-24 17:23:27.390 19600-19600/com.vuzix.m100empty E/SCANNER: java.lang.RuntimeException: Camera system error -1
And there are my permissions from manifest. `
<uses-permission android:name="android.permission.CAMERA" />
` I am getting this error on Android 4.0.3. Thanks for help!
The text was updated successfully, but these errors were encountered:
I have fix it! I had to stop scanner in onDestroy and in onPause. And to onResume I had to start scanner.
public void onResume() { super.onResume(); scannerLiveView.startScanner(); voiceControl.on(); } public void onPause() { super.onPause(); scannerLiveView.stopScanner(); voiceControl.off(); } public void onDestroy() { super.onDestroy(); scannerLiveView.stopScanner(); voiceControl.destroy(); }
Sorry, something went wrong.
I have the same error "Camera system error -1". I see a only a black screen with the red target. I tried your solution but it didn't worked for me.
No branches or pull requests
Hi everyone,
I have a problem with camera. I sometimes get error, but sometimes it works well.
Here is my error log.
And there are my permissions from manifest.
`
`
I am getting this error on Android 4.0.3. Thanks for help!
The text was updated successfully, but these errors were encountered: