简体   繁体   中英

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. 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?

使用google同步数据api,您可以在setheldOnly中执行此操作a。在手持apk中发送通知数据,以便佩戴apk

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM