Android的无声推送 [英] Android Silent Push

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

问题描述

我是新来的Andr​​oid和我玩弄在这里和那里尝试一些功能。
我想知道是用无声推送的方式 - 这意味着获取设备上的推送通知,没有任何警报,通知或振动 - 即无需用户意识到这一点。
如果有人有一个教程,他可以参考我我会比gratefull以上。

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.

推荐答案

在Android的默认的push(谷歌云端通讯的Andr​​oid)是一种无声的推动。
实际上,你必须写code,以便推送通知生成通知,声音或用户的任何其他效果显着。

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.

阅读 GCM指南

这篇关于Android的无声推送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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