Paused Activity

Cothek

Member
Licensed User
Longtime User
I am running a service to call a transparent activity (called ReminderPopup) as a popup reminder which is working well. However if the original activity (called App) is paused when the transparent activity (ReminderPopup) is called then both show up with the transparent activity on top. How do I prevent the paused activity from showing up?
 
Last edited:

mc73

Well-Known Member
Licensed User
Longtime User
I can't possibly know why this is happening, especially when not shown any code, but I can suggest (again, without seeing anything) that you check for a flag inside your activity's resume sub and finish it (the unwanted one obviously) when it shows up while you only need the transparent one. BUT, this is a fix I wouldn't do, since I suspect there perhaps exists a call at this activity. If this is the case, you should remove it.
 
Upvote 0

Cothek

Member
Licensed User
Longtime User
I thought about that Erel but that is not ideal. I have nothing under my activity_resume sub and it still brings up the paused app...how to messaging programs achieve a popup like this without pulling up the paused activity? Are they using a separate apk?
 
Upvote 0
Top