title: start edit activity right after picture is taken at ACTION_IMAGE_CAPTURE activity
body: <p>First, I launch the camera app to capture picture. Once it is done, I put the image path to extra to launch a edit view activity. When I execute this activity, I found it always return to this activity after picture taken and then start the edit activity. How could I avoid to come back to this activity and start the edit activity right after the picture is taken from camera view? </p>
  
  <pre><code>public void onSnapBtnClick(View v ) {
      Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
      mImagePath = createImagePath();
      intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File(mImagePath)));
      startActivityForResult(intent, ACTIVITY_SNAP);
  }
  
  
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
  if (requestCode == ACTIVITY_SNAP &amp;&amp; resultCode == Activity.RESULT_OK) {
      File fi = null;
      try {
      fi = new File(mImagePath);
      } catch (Exception ex) {
      Log.w(Config.LOGTAG, "mImagePath not exist " + mImagePath);
      }
  
      if (fi != null &amp;&amp; fi.exists()) {
  
      String randomId = UUID.randomUUID().toString();
      new ImageUploadAsynTask().execute(randomId);
      Intent editIntent = new Intent(this, ShopinionEditTextActivity.class);
      editIntent.putExtra(GeatteDBAdapter.KEY_IMAGE_PATH, mImagePath);
      editIntent.putExtra(Config.EXTRA_IMAGE_RANDOM_ID, randomId);
      startActivity(editIntent);
      } else {
      Log.w(Config.LOGTAG, "file not exist or file is null");
      }
  
  } 
  }
  </code></pre>