Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codelv/enaml-native-barcode
Barcode and QRcode scanning package for enaml-native
https://github.com/codelv/enaml-native-barcode
Last synced: 2 days ago
JSON representation
Barcode and QRcode scanning package for enaml-native
- Host: GitHub
- URL: https://github.com/codelv/enaml-native-barcode
- Owner: codelv
- License: mit
- Created: 2017-11-06T19:21:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T20:35:30.000Z (about 2 years ago)
- Last Synced: 2024-12-14T08:37:46.586Z (13 days ago)
- Language: Python
- Size: 17.6 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# enaml-native-barcode
A QRCode reader and barcode scanning package for enaml-native using [zxing](https://github.com/zxing/zxing).
More specifically, it uses the embedded version provided by [zxing-android-embedded](https://github.com/journeyapps/zxing-android-embedded).[![See the demo on youtube](https://img.youtube.com/vi/lYF8XioDd78/0.jpg)](https://youtu.be/lYF8XioDd78)
### 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`
1. Install the latest `enaml-native-cli==1.3.1`
2. Create a new app `enaml-native init BarcodeDemo com.example.barcode apps/`
3. Activate the venv `cd apps/BarcodeDemo` and `source venv/bin/activate`
4. Install `enaml-native install enaml-native-barcode`
5. Add `enaml-native-barcode: ""` to your apps `package.json` under the android dependencies
6. Copy in the `main.py` and `view.enaml` from the example folder to your apps `src` folder
7. Run `enaml-native build-python`
8. Run `enaml-native run-android`Enjoy!