Android中如何给CameraService发生CMD命令

在Android中,如何给CameraService发生shell command命令

请先 登录 后评论

1 个回答

凡乐

执行cmd media.camera <parameter> 

deepinout:/ # cmd media.camera -h
Camera service commands:
  get-uid-state <PACKAGE> [--user USER_ID] gets the uid state
  set-uid-state <PACKAGE> <active|idle> [--user USER_ID] overrides the uid state
  reset-uid-state <PACKAGE> [--user USER_ID] clears the uid state override
  set-rotate-and-crop <ROTATION> overrides the rotate-and-crop value for AUTO backcompat
      Valid values 0=0 deg, 1=90 deg, 2=180 deg, 3=270 deg, 4=No override
  get-rotate-and-crop returns the current override rotate-and-crop value
  help print this message

请先 登录 后评论
  • 1 关注
  • 0 收藏,275 浏览
  • eyeandroid 提出于 2022-05-07 13:59

相似问题