Android Question Activity Disappears; but Panels stay open...

TheWind777

Active Member
Licensed User
Longtime User
I have an activity and also have a service module. The service module watches the activity and handles timed reminders

Sometimes the activity dies, yet the panels are still there. I know the activity is paused because IsPaused(Main) becomes true, the Activiity isn't updating information as it should, and it's acting as-if it is paused (even though the panel is still there).

Is there a way for me to check for the panel still being there and having it go away? Because in every other aspect it is paused, and I don't know WHY it's suddenly paused.

The activity is 30 MB in size and proprietary code so I can't post the code.

Anybody know why my activity might just disappear like that (it only happens very rarely)... and any way I can make the panels disappear from the service module, or even to see that this has happened... and automatically restart the activity. I don't know what I'd be waiting for, or looking for.

I am already watching IsPaused(Main) from the service module, and it sees it go into pause. Is there a way to check for the open panels? I could then just restart the activity when this occurred.
 
Top