每当在服务器端更新数据库表的行时,Android推送通知

时间:2017-01-27 20:50:26

标签: android mysql push-notification google-cloud-messaging

我正在使用WebView制作Android应用。我的网站使用PHP设计,使用的数据库为mySQL

是否有任何方法可以在server side将新行添加到数据库表中时生成push notification

假设我的数据库包含 ID 位置。 有以下值:

ID Location
1 USA
2 India
3 UK

现在,添加了一条新记录:

ID Location
1 USA
2 India
3 UK
4 Germany

我想在我的Android应用中发送推送通知:A new record has been added

有人可以帮助我吗?

  

注意:我对 Google Cloud Messaging

一无所知   支持链接或教程或文档如何使用Google Cloud Messaging将非常有帮助   如果问题重复,请提供以前的链接

0 个答案:

没有答案
相关问题