@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) {
Intent resuleIntent=new Intent();
resuleIntent.putExtra("type", "UTF-8");
resuleIntent.putExtra("content","");
this.setResult(1,resuleIntent);
CaptureActivity.this.finish();
}
return false;
}