A QRCode reader and barcode scanning package for enaml-native using zxing. More specifically, it uses the embedded version provided by zxing-android-embedded.
To install:
enaml-native install enaml-native-barcode
And add enaml-native-barcode:""
to your app's project dependencies!
To remove:
enaml-native uninstall enaml-native-barcode
See the example in examples. Versions used are listed in the requirements.txt
- Install the latest
enaml-native-cli==1.3.1
- Create a new app
enaml-native init BarcodeDemo com.example.barcode apps/
- Activate the venv
cd apps/BarcodeDemo
andsource venv/bin/activate
- Install
enaml-native install enaml-native-barcode
- Add
enaml-native-barcode: ""
to your appspackage.json
under the android dependencies - Copy in the
main.py
andview.enaml
from the example folder to your appssrc
folder - Run
enaml-native build-python
- Run
enaml-native run-android
Enjoy!