HI, All
Before in small apps i was checking the app status (for toast notifications) such way:
So, i have to list all the activities manually.
Notification for the user should be shown only if he is working in my app only.
But now in huge project with tens of activities... maybe any smart variant is possible ?
Before in small apps i was checking the app status (for toast notifications) such way:
B4X:
Sub InAppToastOnly(Text As String, LongToast As Boolean)
If IsPaused(Main) = False OR IsPaused(Logs) = False OR IsPaused(About) = False Then
ToastMessageShow(Text, LongToast)
End If
End Sub
So, i have to list all the activities manually.
Notification for the user should be shown only if he is working in my app only.
But now in huge project with tens of activities... maybe any smart variant is possible ?