Unable to capture 360 HDR images with the camera preview off
Here is how I could replicate it
Instead of implementing ICaptureListener like this
public class CaptureActivity extends BaseObserveCameraActivity implements ICaptureStatusListener
and InstaCameraManager.getInstance().setCaptureStatusListener(this);
I tried adding it directly to the camera instance like below
Unable to capture 360 HDR images with the camera preview off Here is how I could replicate it Instead of implementing ICaptureListener like this
public class CaptureActivity extends BaseObserveCameraActivity implements ICaptureStatusListener and InstaCameraManager.getInstance().setCaptureStatusListener(this);
I tried adding it directly to the camera instance like below
InstaCameraManager.getInstance().setCaptureStatusListener(new ICaptureStatusListener() { @Override public void onCaptureFinish(String[] filePaths) { mTvCaptureStatus.setText(R.string.capture_capture_finished); mTvCaptureTime.setVisibility(View.GONE); mTvCaptureCount.setVisibility(View.GONE); if (filePaths != null && filePaths.length > 0) { mBtnPlayCameraFile.setVisibility(View.VISIBLE); mBtnPlayCameraFile.setOnClickListener(v -> { }); mBtnPlayLocalFile.setVisibility(View.VISIBLE); mBtnPlayLocalFile.setOnClickListener(v -> { downloadFilesAndPlay(filePaths); }); } else { mBtnPlayCameraFile.setVisibility(View.GONE); mBtnPlayCameraFile.setOnClickListener(null); mBtnPlayLocalFile.setVisibility(View.GONE); mBtnPlayLocalFile.setOnClickListener(null); } } });
The camera responds with code 500 and camera busy