Qr scanner android github

Qr scanner android github

quickie is a Quick Response (QR) Code scanning library for Android that is based on CameraX and ML Kit on-device barcode detection. It’s an alternative to ZXing based libraries and written in Kotlin. quickie features:

  • Easy API for launching the QR scanner and receiving results by using the new Activity Result API
  • Modern design, edge-to-edge scanning view with multilingual user hint
  • Android Jetpack CameraX for communicating with the camera and showing the preview
  • ML Kit Vision API for best, fully on-device barcode recognition and decoding

There are two different flavors available on mavenCentral() :

Bundled Unbundled
ML Kit model is bundled inside app (independent of Google Services) ML Kit model will be automatically downloaded via Play Services (once after app install)
2.2 MB app size increase per ABI (you should use App Bundle or ABI splitting) 550 KB app size increase
V3 model is used (faster, more accurate) currently V1 model will be downloaded

To use the QR scanner simply register the ScanQRCode() ActivityResultContract together with a callback during init or onCreate() lifecycle of your Activity/Fragment and use the returned ActivityResultLauncher to launch the QR scanner Activity.

⚠️ You can’t register the ActivityResultContract inside the OnClickListener lambda. This will fail since the code gets executed after the onCreate lifecycle!

Check out the sample inside this repo or visit the official Activity Result API documentation for more information.

The callback you add to the registerForActivityResult will receive a subclass of the sealed QRResult class:

  1. QRSuccess when ML Kit successfully detected a QR code
    • wraps a QRContent object
  2. QRUserCanceled when the Activity got canceled by the user
  3. QRMissingPermission when the user didn’t accept the camera permission
  4. QRError when CameraX or ML Kit threw an exception
    • wraps the exception

The content type of the QR code detected by ML Kit is wrapped inside a subclass of the sealed QRContent class which always provides a rawValue .

Currently, supported subtypes are: Plain , Wifi , Url , Sms , GeoPoint , Email , Phone , ContactInfo , CalendarEvent

See the ML Kit Barcode documentation for further details.

Use the ScanCustomCode() ActivityResultContract to create a configurable barcode scan. When launching the ActivityResultLauncher pass in a ScannerConfig object:

💡 You can optionally pass in an ActivityOptionsCompat object when launching the ActivityResultLauncher to control the scanner launch animation.

Screenshots / Sample App

You can find the sample app APKs inside the release assets.

Источник

Qr scanner android github

QR and Barcode Scanner Android

This privacy policy sets out how QR and Barcode Scanner uses and protects any information that you give to us and the user data that app collects when you use our products and services. We don’t collect any data from you.

QR and Barcode Scanner is committed to ensuring that your privacy is protected and the confidentiality of your data is very important for us. The information or data that you provide or collected by app will always be in accordance with this privacy statement.

Why does Barcode Scanner request permission to access .

. camera

Without the camera permission the app cannot work at all, because it needs your camera to scan a barcode.

Barcode Scanner sets off a virus warning:

The Barcode Scanner app contains no viruses or malware.

To ensure you get the official copy from this project, only download Barcode Scanner from Google Play.

This is built and signed by us, and Google Play uses these signatures to verify that the copy you get is from us. Users’ privacy and security really matters to us and we will never do job that is not legally right. For this reason, don’t obtain copies from third-party app stores other than Google Play Store.

– For any privacy related problem or doubt, please contact us on our email address.

Please keep visiting this site for any privacy policy related information.

Источник

Qr scanner android github

QR & Barcode Scanner is an ad-free, open-source scanner app. It uses the ZXing scanning library.

You can contribute by adding a translation on Transifex, reporting a bug or asking for a feature.

Supported Barcode Formats

The app can read the following barcode formats:

The app can create the following barcode formats:

About

An Android app for scanning QR codes and barcodes

Источник

Qr scanner android github

Project in Maintenance Mode Only

The project is in maintenance mode, meaning, changes are driven by contributed patches. Only bug fixes and minor enhancements will be considered. The Barcode Scanner app can no longer be published, so it’s unlikely any changes will be accepted for it. There is otherwise no active development or roadmap for this project. It is «DIY».

Get Started Developing

ZXing («zebra crossing») is an open-source, multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages.

1D product 1D industrial 2D
UPC-A Code 39 QR Code
UPC-E Code 93 Data Matrix
EAN-8 Code 128 Aztec
EAN-13 Codabar PDF 417
UPC/EAN Extension 2/5 ITF MaxiCode
RSS-14
RSS-Expanded
Module Description
core The core image decoding library, and test code
javase JavaSE-specific client code
android Android client Barcode Scanner
android-integration Supports integration with Barcode Scanner via Intent
android-core Android-related code shared among android , other Android apps
zxingorg The source behind zxing.org
zxing.appspot.com The source behind web-based barcode generator at zxing.appspot.com

Available in previous releases

Module Description
cpp C++ port
iphone iPhone client
objc Objective C port
actionscript Partial ActionScript port
jruby JRuby wrapper

ZXing-based third-party open source projects

Module Description
QZXing port to Qt framework
glassechidna/zxing-cpp port to C++ (forked from the deprecated official C++ port)
nu-book/zxing-cpp recent port to C++
zxing_cpp.rb bindings for Ruby (not just JRuby), powered by zxing-cpp
jsqrcode port to JavaScript
python-zxing bindings for Python
ZXing .NET port to .NET and C#, and related Windows platform
php-qrcode-detector-decoder port to PHP
ZXing Delphi Port to native Delphi object pascal, targeted at Firemonkey compatible devices (IOS/Android/Win/OSX) and VCL.
ZXingObjC Port to Objective-C
php-zxing PHP wrapper to Zxing Java library
zxing-js/library TypeScript port of ZXing library
pyzxing Python wrapper to ZXing library

Other related third-party open source projects

Module Description
Barcode4J Generator library in Java
ZBar Reader library in C99
OkapiBarcode

Post to the discussion forum or tag a question with zxing on StackOverflow.

QR code is trademarked by Denso Wave, inc. Thanks to Haase & Martin OHG for contributing the logo.

Optimized with

About

ZXing («Zebra Crossing») barcode scanning library for Java, Android

Источник

Qr scanner android github

Privacy Friendly QR Scanner

The Privacy Friendly QR Scanner belongs to the group of Privacy Friendly Apps. The app supports its users in detecting malicious links: QR Codes provide new possibilities for an attacker, as QR Codes can contain malicious links, i.e. links to phishing webpages or webpages from which malware would automatically be downloaded. Therefore it is important to carefully check the link before accessing the corresponding webpage.

This app is optimized regarding the user’s privacy. It only uses the device’s camera in order to decode QR codes and barcodes.

Privacy Friendly QR Scanner belongs to the group of Privacy Friendly Apps and has been developed to provide a privacy friendly QR-Code/Barcode decoding application. More information can be found on https://secuso.org/pfa

Further development requires Android Studio, we recommend to use the latest version.

Mininum SDK: 17 Target SDK: 28

This app uses the help of the ZXing Projekt.

Privacy Friendly QR Scanner is licensed under the GPLv3. Copyright (C) 2015-2017 Philipp Rack 2018-2020 Christopher Beckmann

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

The icons used in the nagivation drawer are licensed under the CC BY 2.5. In addition to them the app uses icons from Google Design Material Icons licensed under Apache License Version 2.0. All other images (the logo of Privacy Friendly Apps, the SECUSO logo and the app logo) copyright Karlsruhe Institute of Technology (2016-2020).

App-Icon:
Markus Hau & Tatjana Albrandt

Github-Users:
bassel-hanna
Kamuno
yonjuni
p-rack
Vistaus
naofum (Japanese translation)
YannAries
sleep-yearning
heapifyman
derEisbaerX
robo-w
corvinusWiz
vanMacG
wesinator

Источник

Читайте также:  Как оплачивать телефоном вместо карты андроид рнкб
Оцените статью