case SELECT_IMAGE:
Intent imageintent = new Intent(this, ImageEdditerMainActivity.class);
currImageURI = data.getData( ) ;
Log.d("current",currImageURI.getPath());
FileUtil.setStrFilePath(getRealPathFromURI(currImageURI));
imageintent.putExtra("scale", true);
startActivityForResult(imageintent , TAKE_PICTURE);
break;
case R.id.CheckBtn:
try {
mImageCaptureUri = Uri.fromFile(BitmapUtil.SaveBitmapToFileCache((Bitmap)getBitmap(),"crop_" + new File(mImagePath).getName()));
FileUtil.setStrFilePath(mImagePath);
} catch (Exception e) {
// TODO: handle exception
}
Intent i = getIntent();
setResult(RESULT_OK, i);
System.gc();
System.exit(0);
break;
두번째 소스에서 첫번째로 돌아가서 실행하고 싶은데 방법을 모르겠습니다.
두번째 소스에서 특정 activity를 지정하지 않고 가야 합니다. ㅠㅠ