问题
I wonder what are requirements for developing iOS app that can be used as a remote controller for Samsung TV.
It's obvious that the TV needs to be connected to the network and be equipped in SMART TV feature. I would like to know if it's possible without modifying the TV software/firmware.
I didn't find any information about public APIs or iOS SDK from Samsung that could handle communication. As far as I understand the SDKs available on Samsung developer website are for creating apps that can be installed on the TV. However, I noticed several "remote controller" application on the AppStore, but don't have access to Samsung TV to check if they are working. I guess they have to use some official solutions in order to pass AppStore Review process.
Perhaps if there is no official SDK, some kind of universal protocol of can be used to connect with the TV and remotely change channel or retrieve currently watched channel info.
Looking forward to get some hints from people experienced in that topic, as I never did anything connected with TVs. Also, if you have knowledge about remote controlling other brands TV - please let me know how it looks like.
回答1:
Yes, you can do that.
You will need to download the Samsung SmartTV SDK. The Development Guide has all the instructions to create a Javascript application with Websockets (or even to let you create a C/C++ TCP Socket app)
来源:https://stackoverflow.com/questions/28307793/remote-control-samsung-tv-from-ios-app