Camera2 API - Android

后端 未结 3 1177
离开以前
离开以前 2021-01-21 09:41

I am trying to use new camera api provided by android as camera2. But

CameraManager manager = (CameraManager) getActivity().getSystemService(Context.CAMERA_SERV         


        
3条回答
  •  后悔当初
    2021-01-21 10:04

    Binod,

    That will only works if your platform support API level 21 - that is the one come after Android L release.

    For a detailed explanation of how camera 2 API works, you may want to take a look at this article

提交回复
热议问题