I refered link a link to develop Push Notification but while running it show me the UI (main.xml). What should I do to create Push Notification (C2DM server) sample app?
Turn on notifications for Android devicesTap More on the bottom navigation bar and select Settings. Tap Turn on notifications. Tap Notifications. Tap Show notifications.
Android Push Notifications For Android, the notifications by default appear on the lock screen, and when the phone is unlocked, are visible as small icons on the notification bar at the top of the screen.
Here's the documentation for Firebase Cloud Messaging Service that replaces C2DM and GCM: https://firebase.google.com/docs/cloud-messaging/
This is the best C2dM documentation I've seen. It's in the form of a tutorial and it both explains how everything works, and provides sample code.
http://www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html
GCM is outdated. FCM comes as a replacement for GCM.
https://www.youtube.com/watch?v=uuiuVDb2bug
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With