Scan QR code in portraits mode
See original GitHub issueI need to scan QR Code in portraits mode. I used DecoratedBarcodeView for portraits mode but it scans all types of barcode. Is it possible to scan only QR Code.
I tried Intent intent = new Intent(); intent.putExtra("SCAN_MODE", "QR_CODE_MODE"); barcodeScannerView.initializeFromIntent(intent); barcodeScannerView.decodeContinuous(callback);
where barcodeScannerView is object of DecoratedBarcodeView. Is this the correct way to do it?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Want to Scan Barcode or QRcode in portrait mode in android
Today I am going to write blog on how to scan Barcode or Qrcode in portrait mode using Zxing library. Followings steps are...
Read more >How to use Zxing in portrait mode? - Stack Overflow
it is possible to scan barcode in portrait mode but it will take longer because it need more time to process data from...
Read more >Scan Barcode in Portrait mode using Zxing Library - YouTube
Recorded with ScreenCastify (https://www.screencastify.com), the screen video recorder for Chrome.
Read more >Zxing integration with Android in portrait mode - YouTube
Zxing integration portrait mode. ... How to Make a QR Code Scanner in Jetpack Compose - Android Studio Tutorial. Philipp Lackner.
Read more >I am not able to scan barcode in the Landscape mode on mobile
I am not able to scan the multi-format barcode on the landscape mode of the mobile, ... However, it is working fine in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
implementation 'com.journeyapps:zxing-android-embedded:3.6.0'
Add following in AndroidManifest.xml
<activity android:name="com.journeyapps.barcodescanner.CaptureActivity" android:screenOrientation="portrait" tools:replace="screenOrientation" />
Please provide this function to scan only QRcode / Barcode / Qr-Barcode both. Thanks