I start a new activity with the following statements:

   Intnet intent = new Intent(this, NewActivity.class);
   intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | 
Intent.FLAG_ACTIVITY_MULTIPLE_TASK | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
   startActivity(intent);

After the new activity is launched, I press HOME key for about 3 seconds, and I 
see the a dialog with messages "No recent applications".

why my application is disappeared?

thanks.
-Jiang



      

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to