|
|
@ -403,8 +403,6 @@ public class MainActivity extends AppCompatActivity {
|
|
|
|
binding.btnCameraInfo.setOnClickListener(new View.OnClickListener() {
|
|
|
|
binding.btnCameraInfo.setOnClickListener(new View.OnClickListener() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View view) {
|
|
|
|
public void onClick(View view) {
|
|
|
|
MicroPhotoService.setOtgState(true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MicroPhotoService.setCam3V3Enable(true);
|
|
|
|
MicroPhotoService.setCam3V3Enable(true);
|
|
|
|
|
|
|
|
|
|
|
|
Runnable runnable = new Runnable() {
|
|
|
|
Runnable runnable = new Runnable() {
|
|
|
@ -415,8 +413,7 @@ public class MainActivity extends AppCompatActivity {
|
|
|
|
Log.d(TAG, cameraInfo);
|
|
|
|
Log.d(TAG, cameraInfo);
|
|
|
|
|
|
|
|
|
|
|
|
MicroPhotoService.setCam3V3Enable(false);
|
|
|
|
MicroPhotoService.setCam3V3Enable(false);
|
|
|
|
MicroPhotoService.setOtgState(false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MicroPhotoService.infoLog(cameraInfo);
|
|
|
|
MicroPhotoService.infoLog(cameraInfo);
|
|
|
|
Toast.makeText(view.getContext(), cameraInfo, Toast.LENGTH_LONG).show();
|
|
|
|
Toast.makeText(view.getContext(), cameraInfo, Toast.LENGTH_LONG).show();
|
|
|
|
}
|
|
|
|
}
|
|
|
|