Is there any way to differentiate the different trigger points of android application. For example, application can be triggered from notification bar/launcher icon/recent.
My app contains two tasks. Once user tap on launcher icon, only main task will be brought to foreground not the other. I want to differentiate the triggers points so that i can manage my different tasks accordingly.
Any kinda help will be highly appreciated!!