[英]Set Android Wear notification background image in GCM notification
When sending a Google Cloud Messaging (GCM) notification to Android smartphone it gets automatically forwarded to Android Wear - the message and the icon pops up. 当向Android智能手机发送Google Cloud Messaging(GCM)通知时,它会自动转发到Android Wear-该消息和图标弹出。 I was wondering if there is a way to set a background image of the notification in GCM request JSON, without actually changing the code of the app? 我想知道是否有一种方法可以在GCM请求JSON中设置通知的背景图片,而无需实际更改应用程序的代码?
使用google同步数据api,您可以在setheldOnly中执行此操作a。在手持apk中发送通知数据,以便佩戴apk
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.