简体   繁体   English

我如何从Tizen向Android发送推送通知?

[英]How would i send a push notification from tizen to android?

I want to send a notification to an android app based on some changes in the watch accelerometer, the watch is gear 2 running tizen. 我想根据手表加速度计中的某些变化向Android应用发送通知,手表是2号齿轮运行的tizen。 I can send notifications from android to the watch but not vice versa. 我可以将通知从android发送到手表,但反之则不能。 How would I proceed with this ? 我将如何进行呢?

You can create Producer-Consumer (Companion) App using Accessory SDK. 您可以使用附件SDK创建Producer-Consumer(伴侣)应用。 One for Android and one for Tizen gear. 一种用于Android,另一种用于Tizen设备。 Add listeners in Tizen app and send data to android app when there is change in accelerometer reading. 当加速度计读数发生变化时,在Tizen应用程序中添加侦听器并将数据发送到android应用程序。

You can refer Accessory SDK for more developing conpanion apps. 您可以参考Accessory SDK以获得更多正在开发的配套应用程序。

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

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