title: Resume the Top Activity instead of starting the Launcher Activity
body: <p>I have two activities in My application, one being launcher and the other is launched as a explicit call from the first.</p>
  
  <p>Here My problem is when i go back to home screen by pressing home key from second activity and launch the application, again the first activity gets initiated even though the second activity is already in the background.</p>
  
  <p>The first Activity is written to download the required assets for the application to work,  once the assets are downloaded it triggers the second activity and calls finish for self.</p>
  
  <p>Below is my manifest of the application.</p>
  
  <p>
  </p>
  
  <pre><code>&lt;uses-sdk android:minSdkVersion="7" android:targetSdkVersion="14" /&gt;
  
  &lt;application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"&gt;
  
      &lt;! Download the Required Assets if not found on SD Card --&gt;
      &lt;activity android:name=".ContentDownload"
          android:screenOrientation="landscape"
          android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|locale" 
          android:launchMode="singleTask"
          android:alwaysRetainTaskState="true"&gt;
  
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
  
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.SEARCH" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
  
      &lt;/activity&gt;
  
      &lt;activity android:name=".ActualAppActivity" 
          android:screenOrientation="landscape" 
          android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|locale" 
          android:launchMode="singleTask"
          android:alwaysRetainTaskState="true"
          /&gt;
  
  &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
  &lt;uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/&gt;
  &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt; 
  &lt;uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/&gt;  
  
  &lt;supports-screens android:smallScreens="false" android:normalScreens="true" android:largeScreens="true" android:anyDensity="true"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>Can Somebody please guide me on how to make the second activity gain the control directly instead of going through the first again if launcher is called and it is in the background.</p>
  
  <p>Below is my onResult Call back method.</p>
  
  <pre><code>public void onResult(String assetPath, int result)
  {
      if(result == RESULT_OK)
      {
          startActivity(new Intent(this, ActualAppActivity.class));
          activity.destroyDownloadActvity();
          finish();
      }
      else
      {
          finish();
          java.lang.System.exit(0);
      }
      activity.destroyDownloadActvity();
      activity = null;
  }
  </code></pre>