QR Code scanning with camera

This commit is contained in:
andrekir 2021-11-15 10:54:10 -03:00
parent e4983d2c2d
commit 3ecc247c76
3 changed files with 59 additions and 12 deletions

View file

@ -50,11 +50,8 @@
<!-- Uart access -->
<!-- the xing library will try to bring this permission in but we don't want it -->
<uses-permission
android:name="android.permission.CAMERA"
tools:node="remove" />
<!-- zxing library for QR Code scanning using camera -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature
android:name="android.hardware.bluetooth_le"
@ -117,6 +114,12 @@
android:enabled="true"
android:exported="false" />
<!-- zxing for QR Code scanning: lock portrait orientation -->
<activity
android:name="com.journeyapps.barcodescanner.CaptureActivity"
android:screenOrientation="portrait"
tools:replace="screenOrientation" />
<activity
android:name="com.geeksville.mesh.MainActivity"
android:label="@string/app_name"