Handling Parse Push Notifications In Android
I am using Parse API in order to handle push notifications. In our Android application, I want to accomplish two things: 1) If we have received a Push Notification with the applica
Solution 1:
When a push is received ,Check
1:Whether our application is in foreground or background.
If it is foreground, that means app is visible and do your stuff(show alerts or anything you want).
If app is in background,that means it is not visible and if you want to do any thing based on this.
i hope this helps..
Post a Comment for "Handling Parse Push Notifications In Android"