I just noticed that the FLAG_ACTIVITY_SINGLE_TASK parameter is no longer available in the Android developer documentation:
I'm just trying to do this:
removeCard.setFlags (Intent.FLAG_ACTIVITY_SINGLE_TASK); startActivity (removeCard);
I have already seen such a parameter in the code found on Google, but the Java compiler just tells me that it does not exist.
I can only start the main action with this parameter, but I need to configure the manifest file to complete this:
android: launchMode = "singleTask"
And this does not work for other activities launched when the application starts.
Does anyone know why this option disappears for Intent?
Regards, Franz
source share