Skip to main content

QRCode and barcode scanning for enaml-native using zxing

Project description

# 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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

enaml_native_barcode-1.0.1-py2-none-any.whl (66.6 kB view details)

Uploaded Python 2

File details

Details for the file enaml_native_barcode-1.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for enaml_native_barcode-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 3802aaa93afec91be8983bed153e87c4c5c3eaf3161369f1fbaf7a7226703d61
MD5 c184fb046eea2070a47c4d74fff10c2f
BLAKE2b-256 c2202fcff0ac5cfe27f51cd2f50c8099cb6e1be112dafc035b17bfb8e71f4305

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page