Comments (9)
Thank you for reporting a bug. I guess it might be caused by MIUI. Does this error occur only on the first start or does it happen every time?
from qrandbarcodescanner.
Every time.
from qrandbarcodescanner.
OK, I will take a look.
from qrandbarcodescanner.
A Minute ago I had cam view. After closing the App and opening again I had no cam view and got: "Failed to connect to camera service"
from qrandbarcodescanner.
This issue is caused by using old camera API in my app. It seems that it does not work on Xiaomi devices with Android 10. I will rewrite it to use new CameraX API and this issue will be solved.
from qrandbarcodescanner.
I am not sure if this is the same error:
Device: Xiaomi Mi 9t Pro, Android 10 (Resurrection OS 8.6.2) (+ ANXCamera v148, shouldn't matter, but since it is a magisk module, maybe it is replacing something)
But I believe I am using the MIUI vendor image, whatever that means.
Once I open the app I get a few ms of live picture, then everything freezes and I can't do anything.
Camera is still active, until I force close the app.
I tried to get a logcat but wasn't able to do so.
Once the new API is implemented and I still affected by the freeze, i can try again.
from qrandbarcodescanner.
Im having this issue as well. The app freezes right after the launch and after a delay reports fhat it "Failed to connect to camera service". It worked the first time but after that, I haven't been able to make it work. Really want to use this open source app over the miui native one.
Xiaomi mi 11 lite, miui 12
from qrandbarcodescanner.
Same for me, sometimes. First time after reboot I'm able to use it as long as I want, but from the second start on I get the issues reported in this thread.
Mi 9T, MIUI 12.0.5
from qrandbarcodescanner.
Me too. No other app accessing the camera seems to have this issue. I don't use ANXCamera, Magisk or any module. The device is not rooted only unlocked. Installed cameras are Open Camera, GCam and whatever simple default Camera app comes with ArrowOS. I tried to disable the latter but it didn't help and Kee Notes seems to rely on it.
Workaround: Force kill all apps using the camera, clear cache of them and try again.
Device: Xiaomi Redmi Note 10 Pro (sweet)
OS: ArrowOS 12.1 (Android 12)
from qrandbarcodescanner.
Related Issues (20)
- landscape view content hidden by navigation bar
- Allow for resizing of the view point [Enhancement]
- Data tracking HOT 9
- Unable to scan line barcodes rotated 90 degrees
- (Feature request) Change quick settings tile label
- (feature request) Custom search Engine
- Support zxing URI scheme [feature request] HOT 1
- java.lang.StringIndexOutOfBoundsException when scanning a AZTEC code HOT 1
- "No app found for this action" when choosing "Search on the web" HOT 2
- Need import history!!! Need need update
- [Question] different apk sizes HOT 2
- App won't build with Java-11
- Ios app
- DO NOT USE this app. SPYWARE WARNING HOT 5
- [Feature Request] Add support for Android 13+ themed app icons
- xml Code Rendering Error
- Scheme to use for my Android app
- Scan Image doesn't work in Android 13 HOT 2
- Sorry to bother you but is this still maintained? I see a lot of harassment and I just wanted to see if you are simply burnt out
- Background app to get code only typed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qrandbarcodescanner.