|
|
|
@ -146,7 +146,7 @@ public class ChannelActivity extends AppCompatActivity {
|
|
|
|
|
binding.btnUsbCamera.setChecked(jsonObject.optInt("usbCamera", 0) == 1);
|
|
|
|
|
binding.btnAutoExplosure.setChecked(jsonObject.optInt("autoExposure", 1) == 1);
|
|
|
|
|
binding.btnAutoFocus.setChecked(jsonObject.optInt("autoFocus", 1) == 1);
|
|
|
|
|
binding.btnHdrMode.setChecked(jsonObject.optInt("hdr", 0) == 1);
|
|
|
|
|
binding.btnHdrMode.setChecked(jsonObject.optInt("hdrMode", 0) == 1);
|
|
|
|
|
binding.btnNightMode.setChecked(jsonObject.optInt("nightMode", 0) == 1);
|
|
|
|
|
binding.exposuretime.setText(Integer.toString(jsonObject.optInt("exposureTime", 0)));
|
|
|
|
|
binding.sensitivity.setText(Integer.toString(jsonObject.optInt("sensibility", 0)));
|
|
|
|
|