title: onActivityResult never called
body: <p>So far, I used the startActivity function with success and now that I need to use the startActivityResult, I have a problem. </p>
  
  <p>When using this function, the activity I expect to be launched is launched correctly but it seems like the onActivityResult function is never called.</p>
  
  <p>Here is my code in the FriendPicker activity, to lauch the MoodPicker activity:</p>
  
  <pre><code>Intent intent = new Intent(FriendPicker.this, MoodPicker.class);
  startActivityForResult(intent, 2);
  </code></pre>
  
  <p>And here is my code in the MoodPicker activity:</p>
  
  <pre><code>@Override
  protected void onActivityResult(int requestCode, int resultCode, Intent intent)
  {                   
      super.onActivityResult(requestCode, resultCode, intent);
  
      Log.i("in OnActivityResult", "Activity Result");                        
  
      switch (requestCode)
      {
          case 2:             
              Log.i("in OnActivityResult", "Activity Resut 2");                
  
              break;
      }
  }
  </code></pre>
  
  <p>and nothing in my logfile is written (I of course, checked that my log file was working properly and double check with a text view output). </p>
  
  <p>Is there something I forgot to declare in the Manifest file?</p>
  
  <p>Thanks in advance.</p>