I have activity A, from this activity I start activity B, which have a button "ok". When the button is clicked some event happens, this event is processed by the service and the service shows toast in activity B, after that B finished.
The problem is that the Activiti B stops running too fast, and user can't see the toast long enough.
How can I wait while activity A come to the front and shows toast there(in the A)?