title: I can't go back to previous activity in Android
body: <p>I have one activity A that launch an Activity B. In this activity I have a button that launch an activity C and this activity has a save button. When I press the save button or the back button in the phone, the activity C is finish and go to the Activity A. I want that go to activity B, but I don't know what is happening.</p>
  
  <p>Thanks is advance.</p>
  
  <p>This is the intent that launch activity C from B.</p>
  
  <pre><code>Intent intent= new Intent(B.this, C.class);
         intent.putExtra....
  .
  .
  .                       
  
  startActivityForResult(recordIntent, REQUEST_DATA);
  return;
  </code></pre>
  
  <p>This is the save button:</p>
  
  <pre><code>@Override
      public boolean onOptionsItemSelected(MenuItem item) {
  
          int itemId = item.getItemId();
          if (itemId == R.id.menu_save) {
  String displayString = editName.getText().toString();
      ServiceCall.upload(this.name, true, displayString, id);
          }
          return false;
      }
  </code></pre>