1.    I have my launcher activity (A) set to "singleTop".

2.    Now there is something in notification bar. User clicks on it.
So I start activity in receiver with Intent.FLAG_ACTIVITY_CLEAR_TOP |
Intent.FLAG_ACTIVITY_NEW_TASK

3.    So A's onNewIntent is invoked and I start activity C based on
extras in intent.

4.    User go back to A(back key) and to other activity D. And then
home key.

5.    Now when I long press home. And relaunch my application and step
3 repeats. and user goes to C. where actually user should have gone to
D

The onNewIntent keeps on calling every time I launch launcher activity
from recently launched activities

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to