enaml-native-barcode
A QRCode reader and barcode scanning package for enaml-native using zxing. More specifically, it uses the embedded version provided by zxing-android-embedded.
Installation
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
Usage
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/BarcodeDemoandsource venv/bin/activate - Install
enaml-native install enaml-native-barcode - Add
enaml-native-barcode: ""to your appspackage.jsonunder the android dependencies - Copy in the
main.pyandview.enamlfrom the example folder to your appssrcfolder - Run
enaml-native build-python - Run
enaml-native run-android
Enjoy!
