Android Jetpack | ||||||||||
| ||||||||||
| ||||||||||
| ||||||||||
| ||||||||||
|
CameraX - Behavior Components, Easily add camera capabilities to your apps
Android Jetpack includes CameraX support library, it will make camera app development easier. it has easy-to-use API surface that works across most Android devices from Android 5.0 (API level 21) to higher versions.
CameraX support library resolves device compatibility issues, so that no need to write device specific code when adding camera capabilities to your app. A simpler, use case-based approach that is life cycle aware.
CameraX interface provides access to device camera through an abstraction called a use case. The below are the available use cases.
Use Case | Description |
---|---|
Preview | prepares a preview SurfaceTexture |
Image analysis | provides CPU-accessible buffers for analysis, such as for machine learning |
Image capture | captures and saves a photo |
concurrent use cases can be used at a time, in app user view the image that the camera sees with preview use case and have an image analysis use case, and image capture use case to take a picture.
use FragmentActivity or AppCompatActivity for lifecycle-aware activities
Animation & transitions, Android Jetpack UI Components, Move widgets and transition between screens
posted on 2019-10-25 08:04:17 - Android Jetpack Tutorials
Emoji, Android Jetpack UI Components, Enable an up-to-date emoji font on older platforms
posted on 2019-10-25 08:03:43 - Android Jetpack Tutorials
Fragment, Android Jetpack UI Components, A basic unit of composable UI
posted on 2019-10-25 08:03:24 - Android Jetpack Tutorials