【发布时间】:2017-02-06 09:04:26
【问题描述】:
谁能告诉我如何在捕获图像时使相机亮度达到最高。我在主要活动中使用隐式意图打开相机活动,所以无论如何我可以在启动相机应用程序时和之后使亮度充满拍照我想在启动相机应用程序之前使亮度保持原样 我已经尝试过这段代码 -
WindowManager.LayoutParams layout = getWindow().getAttributes();
layout.screenBrightness = 1F;
getWindow().setAttributes(layout);
but it does not give the right thing
【问题讨论】: