i am launching another application through my application,so i want to check is any instance of that application is already in stack or not? if exist then clear all instance before launch.
Would you be looking for the following flags to add to the Intent you start the other application with: