I am new for the Android.
Currently, I have integrated GCM Functionality into the my android application. I got the push notification very well from my 3rd party-server application.
But now my problem is that whenever push notification is comes it shows into the Notification Bar area and when I click on that notification it simply disappear as expected.
But I want the functionality that when user clicks on the push notification into the notification bar it will shows a pop-up and shows notification content into that pop-up.
I want this functionality either the application is running or not.
i.e. If the application is not running, then by clicking the notification it will automatically shown the alert on the application's first activity. And if application is already running, then it will shows the alert box on the current activity of the application.
Currently my application has 7 activities.
try Using Pending Intent in android with activity as Dialog theme . the link will help u how to use pending intents help
If you're using MyGcmListenerService as per GCM, then your code should be something like:
use this code to generate notification in GCMIntentService when you receive notification