title: How to create a shortcut which recall application that has been pressed in stack?
body: <p>I mean when you create a shortcut not like this:</p>
  
  <pre><code>Intent target = new Intent();
  target.setPackage(this.getPackageName());
  target.setComponent(this.getComponentName());
  target.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  target.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
  
  Intent intent = new Intent("com.android.launcher.action.INSTALL_SHORTCUT");
  Parcelable icon = Intent.ShortcutIconResource.fromContext(this, R.drawable.icon);
  intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, getString(R.string.app_name));
  intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, icon);
  intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, target);
  sendBroadcast(intent);
  </code></pre>
  
  <p>when you start the application and start an activity not same to the "target intent" in the shortcut. And press home key. The application press in  background. And wen you press the shortcut icon the target activity is not just the one.</p>
  
  <p>very sorry for my english.</p>