简体   繁体   English

将通知从Android应用推送到Gear 2(Tizen)?

[英]Push a notification from Android app to Gear 2 (Tizen)?

I can't seem to find a document on how to push to Gear2 from my Android app. 我似乎找不到有关如何从Android应用程序推送到Gear2的文档。 The closest I can find is this tutorial on building the Integrated app, but it's a fetching scheme (data only transferred when the user presses a button on the watch) http://developer.samsung.com/events/developer-blog/blog/Tutorial-How-to-build-a-Basic-Integrated-Gear-Application 我能找到的最接近的内容是有关构建集成应用程序的教程,但这是一种获取方案(仅当用户按下手表上的按钮时才传输数据) http://developer.samsung.com/events/developer-blog/blog /教程如何构建基本的集成齿轮应用

So I'm wondering is the push is done via standard Android Wearable Notification, like here ? 因此,我想知道是通过标准的Android Wearable Notification(如此处所示)完成推送吗? http://developer.android.com/training/wearables/notifications/creating.html http://developer.android.com/training/wearables/notifications/creating.html

or any pointer to documents? 或任何指向文件的指针? Thanks. 谢谢。

http://img-developer.samsung.com/contents/cmm/SamsungGearApplication_UIDesignGuideline_1.0.pdf . http://img-developer.samsung.com/contents/cmm/SamsungGearApplication_UIDesignGuideline_1.0.pdf

section 3.4 Notifications app section. 第3.4节“通知”应用部分。

I don't think any code is necessary (though I haven't tested this myself) The default behaviour is to push all notifications, but it can be controlled using Gear Manager App. 我认为不需要任何代码(尽管我自己尚未对此进行测试),默认行为是推送所有通知,但可以使用Gear Manager App对其进行控制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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