The Android framework supports capturing images and video through the android.hardware.camera2 API or camera Intent . Here are the relevant classes:.
developer.android.com