title: Android go back to main activity and get intent data
body: <p>I am in an activity started from my main activity, I'm returning to that the main activity but with some data in the intent. Where does my main activity return to so I can fetch the data?</p>
  
  <pre><code>            Intent intent = new Intent(getApplicationContext(), MyBetsWindow.class);
              intent.putExtra("BetName", betName);
              intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
              startActivity(intent);
  </code></pre>