I am creating like timer application and when I start timer I have option to go to android Home or start any other activity .
When I start timer I set a notificati
I'm not certain I understand what you mean.
I suppose you could add an extra in the intent to specify which notification exactly was used to invoke your app. Does this help at all?
I found an answer it's about flags : Android: new Intent() starts new instance with android:launchMode="singleTop"
Intent intent= new Intent(context, YourActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP);