Search code examples
androiddatabasenotificationspushsend

How to send notification to app users in android?


I have an application that contains some user data, name,location and number. I want to send this data to all users of this app as a notification. These data are stored in SQLite database. How can I do this? Can anyone help me to do this with some examples?


Solution

  • Use the concept of Broadcast Receiver,Notification Manager,Alarm Manager and pending intenet for this. you can get various examples from google very easily regarding this topic. Fetch your data from your database and put it in the Broadcast Receiver class.