@Override public void OnWorkDone(File file) { MediaScannerManager.ScanMedia(Settings.context.getApplicationContext(), file); if (burstcount == ParameterHandler.Burst.GetValue() - 1) { stopworking(); baseCameraHolder.StartPreview(); } else if (burstcount < ParameterHandler.Burst.GetValue() - 1) burstcount++; }
@Override public void OnWorkDone(File file) { // if ((DeviceUtils.isZTEADV() || DeviceUtils.isZTEADVIMX214() // ||DeviceUtils.isZTEADV234()) && // !baseCameraHolder.ParameterHandler.ManualShutter.GetStringValue().equals("Auto")) // { // int s = baseCameraHolder.ParameterHandler.ManualShutter.GetValue(); // baseCameraHolder.ParameterHandler.ManualShutter.SetValue(0); // baseCameraHolder.StartPreview(); // baseCameraHolder.ParameterHandler.ManualShutter.SetValue(s); // } // else baseCameraHolder.StartPreview(); MediaScannerManager.ScanMedia(Settings.context.getApplicationContext(), file); stopworking(); eventHandler.WorkFinished(file); }