I think the new activity is the same application which you are running. Try
to launch some other application  gallery e.g.

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Jiang
Sent: Tuesday, June 08, 2010 12:38 PM
To: [email protected]
Subject: [android-developers] Why my application doesn't in application
history?

 


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

-- 
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