Check if an Activity was triggered by a particular Activity
<p>Is it possible to check that an Activity was triggered by a particular Activity.</p>

<p>For example, I have 2 Activities, Activity A and Activity B and A triggered B using an Intent. And now that I am in Activity B, I want to check that Activity B was triggered by Activity A, like:</p>

<p>if(Activity B was trigger by Activity A)
{
  //do something
}</p>
