title: How to open main activity when application was killed?
body: <p>A = Main Activity<br />
  B = Some Activity</p>
  
  <ol>
  <li><p>Normal case<br />
  A > B > Home Button > B</p></li>
  <li><p>Application was killed case<br />
  A > B > Home Button > idle for some time > application killed > open app again > A</p></li>
  </ol>
  
  <p>How can I do like case 2 ?</p>
  
  <p><strong>P.S.</strong> I tried to add <code>android:launchMode="singleTask"</code> in Manifest. It always start at A but I would like to start at A in case 2 (application was killed) only.</p>