简体   繁体   English

实时HTML推送通知

[英]Live Html Push Notifications

I have a question. 我有个问题。 I found out how to use javascript to send Notifications from by site (Push Notification). 我发现了如何使用javascript通过站点发送通知(推送通知)。 I made a app for android phones that just views the site but receives the notifications. 我为Android手机制作了一个应用程序,该应用程序仅查看网站但收到通知。 How can I make it so while the app is running in the background, I can send Live notifications to the site with out refresh. 当应用程序在后台运行时,我如何做到这一点,我可以在不刷新的情况下将实时通知发送到站点。 If you need more info let me know. 如果您需要更多信息,请告诉我。

Guess you need to use GoogleCloudmessaging. 猜猜您需要使用GoogleCloudmessaging。 Please check this side out: https://developers.google.com/cloud-messaging/ 请检查这一面: https : //developers.google.com/cloud-messaging/

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM