Добавил библиотеку zbar, она медленно, но верно распознает код на серебрянной карточке. Нужно настроить конфиг.

This commit is contained in:
Ivan Murashov
2017-07-12 19:02:20 +03:00
parent 9612f7e3f5
commit 715c9bf3bd
18 changed files with 255 additions and 66 deletions

View File

@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rootLayout"
android:background="@android:color/white"
android:layout_width="match_parent"
android:layout_height="match_parent">
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rootLayout"
android:background="@android:color/white"
android:layout_width="match_parent"
android:layout_height="match_parent">
<SurfaceView android:id="@+id/cameraPreview"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<TextView android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Asdf"/>
</FrameLayout>