public void onStopTrackingTouch(SeekBar seekBar) {
Camera.Parameters mparameters = myCamera.getParameters();
int seekProgress = mSeekBar1.getProgress();
if(seekProgress < 13){
mSeekBar1.setProgress(0);
mparameters.setExposureCompensation(-2);
Log.d("exposure","exposure -2");
}else if(seekProgress >=13 && seekProgress < 38){
mSeekBar1.setProgress(25);
mparameters.setExposureCompensation(-1);
Log.d("exposure","exposure -1");
}else if(seekProgress >=38 && seekProgress < 63){
mSeekBar1.setProgress(50);
mparameters.setExposureCompensation(0);
Log.d("exposure","exposure normal");
}else if(seekProgress >=63 && seekProgress < 88){
mSeekBar1.setProgress(75);
mparameters.setExposureCompensation(+1);
Log.d("exposure","exposure +1");
}else if(seekProgress >=88){
mSeekBar1.setProgress(100);
mparameters.setExposureCompensation(+2);
Log.d("exposure","exposure +2");
}
myCamera.setParameters(mparameters);
}