BarcodeQRScannerAndVideoRecord
This app contains feature barcode and QR scanner, and video recording in-app.
- Scanner using ML Kit and CameraX.
- Video Recording using Intent(MediaStore.ACTION_VIDEO_CAPTURE)
Using dependecies:
// ViewModel and LiveData
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.4.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0"
// Barcode scanning API
implementation 'com.google.mlkit:barcode-scanning:17.0.0'
// CameraX library
implementation "androidx.camera:camera-camera2:1.1.0-alpha11"
implementation "androidx.camera:camera-lifecycle:1.1.0-alpha11"
implementation "androidx.camera:camera-view:1.0.0-alpha29"