From activity 1, I open activity 2. Now when I am in the screen of activivty 2, I receive an event of activity 1 and onrecieve of that event i want to display a dialog. How can I do that?? While I am in activity 2 I dont see the dialog, but when I get back to activity 1, i see the dialog.
I want to see the dialog even when i am in screen of activity 2. I looked into this link as well, but wasnt much helpful Showing dialog on top of another running activity (Android)? on receiving the reqd event, i call this method.
First create separate dialog in Activity 2 and do below mentioned
Please share the result if it not succeeded.