I have a problem starting activity in my project.
The activity "My" (H) allows you to select some kind of service in it. Suppose S11 → ...-> S1n is the activity flow for the service (S1). H - LAUNCHER action for my application.
In addition, I need to switch to another application from H and vice versa. Since I cannot change the behavior of this application, I have to declare my H activity as "singleTask" to prevent multiple instances in my activity stack.
The problem is that my application cannot be overwritten without shortening the actions that were transferred after H. So for example, if I have H-S11-S12, then press HOME and restart from the menu of recent applications. I get H as the foreground.
Any ideas? Is there any way to make this combination work? Thanks!
source share