I have implemented C2DM (Android Push Notification) to my app and all is working fine. However, when my app is running, I am able to get notifications. May I know how if I am able to stop the push notification from coming in if my application is running? I only want to receive push notifications only when my app is not running. Because as far as I know, the APNS (Apple Push Notification Service) would check if the app is running or not before sending the push notification. Does C2DM do this too?
Thanks all in advance!