Need Single Activity In New Task Backstack
It is nightmare when must deal with android task and launching modes(flags). Need accomplish this scenario: From background service launch Activity[1] that belongs to App[A] in new
Solution 1:
I think the Intent.FLAG_ACTIVITY_MULTIPLE_TASK
flag will do
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK | Intent.FLAG_ACTIVITY_NO_HISTORY);
Post a Comment for "Need Single Activity In New Task Backstack"