通过网站的 webview 推送通知? [英] Push notifications through webview of a website?

查看:25
本文介绍了通过网站的 webview 推送通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Android 上创建了一个 webview 来在应用中显示我的网站.现在我想知道是否可以在我更新网站内容时创建通知?

I created a webview on Android to display my website in the app. Now i want to know if it's possible to create notifications whenever i update the site content?

推荐答案

你必须使用云消息服务.. 你必须在你的服务器端实现它,这样它就会在需要时推送到设备

you have to use cloud messaging service .. you have to implement it your server side in such a way that it would give a push to device whenever required

最常用的有多个选项:-

there are multiple option available most used are :-

Google 云消息传递:http://developer.android.com/google/gcm/index.html
解析:https://www.parse.com/

Google Cloud Messaging: http://developer.android.com/google/gcm/index.html
Parse: https://www.parse.com/

这篇关于通过网站的 webview 推送通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆