You know what activities are available. You need to get rid of them.
B4X:
If IsPaused(Main) = FalseThen' Main is the Activity to check.... Do it for all your activities.Log("Main is Showing")
EndIf
Edit to add:
B4X:
public Sub Activitycheck()
Dim Activities() As Object = Array(Main) ' Add all your activities to this arrayForEach Act As ObjectIn Activities
If IsPaused(Act) = FalseThenLog($"${Act} is Showing"$)
EndIfNextEndSub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.