I have just noticed that parameter FLAG_ACTIVITY_SINGLE_TASK is no
more available in the Android developer documentation:

I am just trying to do this (removeCard in an Intent)

removeCard.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TASK);
startActivity(removeCard);

I have already seen such a parameter in code found in Google but the
Java compiler just tells me it does not exist.

I am only able to start the main activity with this parameter but I
have to configure the manifest file to perform this:

android:launchMode = "singleTask"

And this does not work for activities other than main activities
launched upon app start.

Does someone know why this parameter disappeared for Intent ?

Regards, Apple92

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