Reputation: 2030
On my website I have a form to put posts on wall by logged in users.
I want the users to get notification in the Android app whenever a new post is posted.
Can anyone please suggest an idea for doing this?
Upvotes: 1
Views: 1504
Reputation: 28454
Normally this is done using Android Cloud to Device Messaging Framework,
and in human language the thing you are trying to implement is called a push notification.
UPDATE:
C2DM (Cloud to Device Messaging) was officially deprecated on June 26, 2012, and will be shut down completely as of July 30, 2015. Existing C2DM developers are encouraged to migrate to Google Cloud Messaging (GCM). See the C2DM-to-GCM Migration document for more information.
UPDATE 2:
GCM (Google Cloud Messaging) was officially deprecated on April 10, 2018, and will be shut down completely as of April 11, 2019. Existing GCM developers are encouraged to migrate to Firebase Cloud Messaging (FCM). See the GCM-to-FCM Migration document for more information.
Developers must use FCM for new development.
Upvotes: 5
Reputation: 4535
I am no expert, but application can connect to server and check if there exist any new content. Good luck
Upvotes: 0