Scan Barcodes with ML Kit on Android

MLKit makes it easy for developers to detect barcodes and extract information. Pairing MLKit with the CameraX API lets you develop powerful applications that can process barcodes in real-time and work reliably across devices.

In this coffee break course, you'll explore 

  • Importance of the CameraX API 
  • Integrating the camera preview 
  • Handling the camera permission 
  • Add Image Analyzer
  • Handling lifecycle states with the preview 
  • Detecting and reading barcodes 
  • Handle clicks on QR code
  • Add Flash support to read barcodes
  • Code challenge with solution

Meet the instructor

Drag to resize

Subhrajyoti Sen 

Content Author & Course Instructor
Subhrajyoti is a GDE for Android. He is passionate about creating good mobile experiences and sharing his learnings with others. When not playing around with Android or AOSP, you can find him binge-watching TV shows or sketching anime characters.