java如何在拍摄图像时使相机亮度充足
有谁能告诉我如何在拍摄图像时使相机亮度充足。我在主活动中使用隐式意图打开相机活动,所以在启动相机应用程序时,是否有任何方法可以使亮度达到最大值,并且在拍照后,我希望使亮度保持在启动相机应用程序之前的状态 我试过这个密码-
WindowManager.LayoutParams layout = getWindow().getAttributes();
layout.screenBrightness = 1F;
getWindow().setAttributes(layout);
but it does not give the right thing
共 (0) 个答案