Im trying to make an app to scan qr codes, when the app launches i can scan the qr code but the app somehow restarts and i cant scan the qr code. My device is realme 7 working on android 12, realme ui 3.0
TIMAI2
October 12, 2023, 1:43pm
2
Please show your relevant blocks
TIMAI2
October 12, 2023, 1:52pm
4
Do you have UseExternalScanner unticked?
Works OK for me on Android 13 in companion app (Google Pixel 4a)
Yes its unclicked. The app just crashes when i scan the qr code and i dont know why.
TIMAI2
October 12, 2023, 1:54pm
6
Seems to be a device specific problem....
Maybe try this:
Build-in barcode scanner window always occupy full screen.Can I restrict it in upper half screen?
Taifun
October 12, 2023, 2:12pm
7
Mateusz_2222:
The app just crashes
To find out why use logcat
ADB is a command-line utility that that can be used to control your device over USB from a computer. It will allow you to install / uninstall and or view logs on your device. This could be very handy when there are issues with a specific app and you like to view the logs for information that may lead to identify the cause of error.
In this post, we’ll discuss how to install and use ADB.
Installation:
ADB comes with Android SDK. However, you can download ONLY the ADB files from HERE . Download…
Taifun
I tried to download it but it doesn't detect my phone when i try to download the driver.
Is your device in developer mode with USB debugging turned on? If not, adb will not find it.
ABG
Split this topic
December 7, 2023, 5:12pm
12