[android-developers] Question on launching activity from notification
Hi,
There's a questions when I try to launch a activity from notification.
The activity's task is on the background, if I add singleTask on the
activity's launch mode, after touch notification, the activiy's task
go back to foreground, and the activity is same as before, but if I do
not add singleTask, replace with adding FLAG_ACTIVITY_CLEAR_TOP on the
intent, after touch notification, a new instant of that activity
appears on the top of the task's back stack.
what's happened? follow Android SDK, singleTask is same as
FLAG_ACTIVITY_CLEAR_TOP, but I get different result here?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home