Android Silent Push

冷暖自知 提交于 2019-12-01 13:46:02

问题


I am new to android and I'm playing around trying some features here and there. I wanted to know what is the way to use silent push - meaning get a push notification on the device without any alarm, notification or vibration - i.e. without the user to be aware of it. If someone have a tutorial he can refer me to I'll be more than gratefull.


回答1:


The default push in Android (Google Cloud Messaging for Android) is a silent push. You actually have to write code in order for the push notification to generate a notification, sound or any other effect noticeable by the user.

Read the GCM Guide.



来源:https://stackoverflow.com/questions/15671140/android-silent-push

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!