here is the situation:
- In a Thread an event is triggered.
- The current activity needs to be retrieved.
- Then a Dialog Box is created on that activity and shown.
Problems: As far as I've searched there is no way to retrieve the current activity in the foreground.
Extra info: This needs to be able to be handled in multiple activities. So, it can be popped-up in Activity-A or B or C.