简体   繁体   English

如何在Android中向应用程序用户发送通知?

[英]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. 这些数据存储在SQLite数据库中。 How can I do this? 我怎样才能做到这一点? Can anyone help me to do this with some examples? 有人可以帮我做些例子吗?

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. 您可以很容易地从Google获得有关该主题的各种示例。 Fetch your data from your database and put it in the Broadcast Receiver class. 从数据库中获取数据,并将其放入Broadcast Receiver类中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android:如何通过同一应用向其他用户发送推送通知? - Android: How to send push notification to other users with the same app? 如何通过 Android App 向用户发送短信通知 - How to send sms notification to Users through Android App 向Android应用中的选定用户发送通知 - Send Notification To Selected Users in android app 如何从Android发送通知给特定用户 - How to send notification from android to spacific users 当数据库表中添加新行时,如何自动将通知发送给我的Android应用程序用户 - how to send notification automatically to my android app users, when there is new row added in my database table 如果应用程序在android中的后台如何发送通知? - How to send notification if the app is at the background in android? android:如何从服务器向应用程序发送通知 - android: how to send notification from the server to the app 如何向 android App 发送自动 FCM 通知 - How to send automated FCM Notification to android App 如何在Android中向同一应用程序的注册用户发送通知 - How to send notification to registered users of same application in android 如何在Android应用程序中向同一应用程序的注册用户发送通知 - How to send notification to registered users of same application in android application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM