Camera2
Camera2 is the latest Android camera framework API that replaces the deprecated
camera framework libraries. Camera2 provides
in-depth controls for complex use cases but requires you to manage
device-specific configurations. You can read about the specific classes and
functions in Camera2 in the corresponding reference
documentation.
For most developers, we recommend you use the CameraX Jetpack
library for a consistent and easy-to-use API surface that works
across all Android devices starting from Android 5.0 (API level 21).
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-01 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]