In my application, three actions say A -> B-> C
Activity A is called from another activity via startActivityForResult() . Activity B and C are also called similar. I also need to call activity A from the notification bar (if there is a specific notification).
Now, if at the moment I am engaged in activity B or C, and I click on the notification bar and called up by activity A, the application goes only to Activity A, and the data entered through actions B or C is not saved.
I do not want this behavior. I want that by clicking on the notification, it should be redirected only to the current screen. Can anyone help. (I mentioned activity:launchMode as SingleTask ).
Sachchidanand
source share