如何在iOS编程中为Samsung smart tv Remote创建应用程序?

问题描述 投票:1回答:1

我需要在ios中为三星电视创建一个远程控制应用程序。我也做了谷歌,但我无法获得确切的解决方案。我看过这个SDK连结https://developer.samsung.com/tv/develop/extension-libraries/smart-view-sdk/sender-apps/ios-sender-app但这是否仍允许我连接最新的电视型号?

我已经看到了github中提供的代码,但是没有一个对我有用。https://github.com/SamsungDForum/SmartViewSDKIntegrateSample

我也看到有TIZEN平台可以做到这一点,但我也不知道。我仍然感到困惑,是它的控制代码需要快速编写还是以目标C语言编写,还是将通过Web APIS完成?因为我也看到了node.js参考。

https://github.com/Toxblh/samsung-tv-control
https://github.com/piu130/samsung-tv-remote-interface
https://github.com/piu130/samsung-tv-remote-interface-keys

我也看到过智能事物的链接,但是也没有给我任何提示。https://smartthings.github.io/

但是我已经看到有许多可用于操作三星电视的应用程序。我想知道他们是如何进行连接和操作远程键的?

我看过http://connectsdk.com/。这在目标c中可用,并且可用于LG电视。我已经在lg电视中尝试和测试过,但是在三星电视中无法正常工作。

谢谢。

ios samsung-smart-tv remote-control live-connect-sdk smartview
1个回答
0
投票

您可以使用websocket轻松创建三星遥控器。看一下这个项目。https://github.com/Ape/samsungctl

该代码在python中,它包含两个方法。

  1. Websockets
  2. 旧版

我更喜欢使用websockets,实际上非常简单。通过查看此项目中的websockets部分,您将了解如何使用websockets连接到三星电视并通过发送命令进行控制。

© www.soinside.com 2019 - 2024. All rights reserved.