|
|
@ -426,7 +426,6 @@ public class MainActivity extends AppCompatActivity {
|
|
|
|
public void onClick(View view) {
|
|
|
|
public void onClick(View view) {
|
|
|
|
MicroPhotoService.setOtgState(true);
|
|
|
|
MicroPhotoService.setOtgState(true);
|
|
|
|
|
|
|
|
|
|
|
|
// SysApi.setOtgState(true);
|
|
|
|
|
|
|
|
MicroPhotoService.setCam3V3Enable(true);
|
|
|
|
MicroPhotoService.setCam3V3Enable(true);
|
|
|
|
|
|
|
|
|
|
|
|
Runnable runnable = new Runnable() {
|
|
|
|
Runnable runnable = new Runnable() {
|
|
|
@ -439,7 +438,7 @@ public class MainActivity extends AppCompatActivity {
|
|
|
|
MicroPhotoService.setCam3V3Enable(false);
|
|
|
|
MicroPhotoService.setCam3V3Enable(false);
|
|
|
|
MicroPhotoService.setOtgState(false);
|
|
|
|
MicroPhotoService.setOtgState(false);
|
|
|
|
|
|
|
|
|
|
|
|
binding.logs.append(cameraInfo + "\r\n");
|
|
|
|
MicroPhotoService.infoLog(cameraInfo);
|
|
|
|
Toast.makeText(view.getContext(), cameraInfo, Toast.LENGTH_LONG).show();
|
|
|
|
Toast.makeText(view.getContext(), cameraInfo, Toast.LENGTH_LONG).show();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|