Hi all, My application has two activities *A* and *B*. *A* is the root activity and set with *singleTop* *launchMode*. *B* is started from A, i.e. the task stack is (*A->B*) I add a status notification to launch the application as long press Home button. The notification intent point to activity *A*.
When the task stack is (*A*) only, the intent invokes onNewIntent from existing A, as expected. When the task stack is (*A->B*), the intent create new activity *A*. But what I wants is resume task (*A->B*) as switch recent apps by long press Home button. Is the problem caused by incorrect launch mode used? or any flags need to be added to the notification intent? Thanks. -- 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

