Send Notification to Gear 2

核能气质少年 提交于 2019-12-24 09:58:08

问题


So in the http://img-developer.samsung.com/contents/cmm/SamsungGearApplication_UID...

I've found the notifications panel. I have a host android app on my phone. Can someone point me to a guide/tutorial on how to get the notification produced by my Android App onto the Watch? My setup is Master-Slave Linked App. And Once User pressed the notification on the watch, it will pull up the corresponding Gear 2 App?

2.2. Notifications Unlike the phone’s notification panel, Notifications app substitutes for its function in Gear. Gear’s notifications are placed on the home screen to the right of the clock and users can change its position. Its notifications are synced with the connected device’s notification panel. The numbers of unread notifications are displayed on the badge. If a user reads notifications on either device, the read notifications on both devices will disappear or be marked as read. Users can choose which notification to show on Gear in ‘Gear Manager’.

When users’ mobile device is not connected to the Gear via Bluetooth, notifications of incoming calls/messages will not be sent to the Gear. After reconnecting, any missed notifications that users have not read on their mobile device will be sent to the Gear. ‘Limit notifications’ option in Gear Manager stops notifications being sent to the Gear when users are using their mobile device.


回答1:


So you can't access the Notification API from watch, it is private. You can just enable push notifications from gear 2, and send regular push notification to your phone. It will then be picked up by the gear 2. This is the best you can do.



来源:https://stackoverflow.com/questions/24174333/send-notification-to-gear-2

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