The Startup
Published in

The Startup

Android CameraX Latest Implementation

Photo by Sergio Martínez on Unsplash
def camerax_version = "1.0.0-rc01"
implementation "androidx.camera:camera-camera2:${camerax_version}"
// If you want to additionally use the CameraX Lifecycle library
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
// If you want to additionally use the CameraX View class
implementation "androidx.camera:camera-view:1.0.0-alpha20"
// If you want to additionally use the CameraX Extensions library
implementation "androidx.camera:camera-extensions:1.0.0-alpha20"
Photo by Humphrey Muleba on Unsplash

How to implement

allprojects {
repositories {
google()
jcenter()
//...
maven {
url "https://dl.bintray.com/arulmani/Mini-Camera"
}
}
}

Usage

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store