ML4Mobile / MLKitBarcodeAndroid

Android barcode scanning app using Google ML Kit

Repository from Github https://github.comML4Mobile/MLKitBarcodeAndroidRepository from Github https://github.comML4Mobile/MLKitBarcodeAndroid

MLKitBarcodeAndroid

Android barcode scanning app using Google ML Kit

Key Features

Requirements

  • Android version 6.0 or higher
  • Google PlayStore is available on the device
  • Support facing back camera

Set-up

  • Change package name to your own naming
    • change package name in AndroidManifext.xml
    • change package name in build.gradle for App level
    • change directory structure and package name of java source files
  • Enroll the package to firebase console
    • Log in Firebase Console
    • Add a project for this app
    • Go to project preference
    • Enroll application package name you named before
    • Download google-services.json file and copy into app directory
  • Build and Run
    • Build and install to device
    • Application is launched, allow permissions

Further more

  • This project use android.hardware.camera APIs and it is deprecated now.
    If you want to enhance and to extend camera features, use android.hardware.camera2.
  • The preview screen is locked up portrait mode.
    All of orientation modes will be supported if considering preview image measure and camera resources management.

About

Android barcode scanning app using Google ML Kit

License:Apache License 2.0


Languages

Language:Java 100.0%