How can i create an app for Samsung smart tv Remote in iOS programming? - ios

I need to create a remote control app in ios for samsung tvs. I did google too but i can not able to get exact solution. I have seen this SDK link
https://developer.samsung.com/tv/develop/extension-libraries/smart-view-sdk/sender-apps/ios-sender-app
But is it still allowing me to connect latest tv models also ?
I have seen codes provided in github but none of them are working for me.
https://github.com/SamsungDForum/SmartViewSDKIntegrateSample
I have also seen that there is TIZEN platform to do it but i am not aware with that also.
I am still confused that is its control code need to write in swift or objective c or it will be done via web APIS? because i have seen node.js reference as well for this.
https://github.com/Toxblh/samsung-tv-control
https://github.com/piu130/samsung-tv-remote-interface
https://github.com/piu130/samsung-tv-remote-interface-keys
I have seen smartthings link too but it also not giving me any hint from which i can start.
https://smartthings.github.io/
However i have seen there are many apps available to operate samsung tvs. I wonder how they did the connection and operate the remote keys ?
I have seen http://connectsdk.com/. And this is available in objective c and working for LG tv. I have tried and tested in lg tv but it is not working in samsung tv.
Thank you.

You can create a samsung remote easily using websockets. Take a look at this project.
https://github.com/Ape/samsungctl
The code is in python and it contains two methods.
Websockets
Legacy
I prefer to use websockets and it is actually quite easy. By looking at the websockets section in this project you will get an idea of how to use websockets to connect to samsung TV and control it by sending commands.

You can create a Samsung remote easily using WebSockets.
It's Quite Easy to work with this Library, Only need some basic knowledge about Socket.
https://github.com/daltoniam/Starscream
without needing any Server Side Support.

Related

Xcode iOS Bluetooth connect with Bluetooth speaker

I have been searching for the past few days for a solution but havent been able to find any.
I am developing app to pair and connect to bluetooth device using a mac address.
I found one private framework API, but even that one i cant make it work, since for some reason i can not include the headers from the private API.
Anyone knows any information? How to achieve this on iOS, or is it 100% impossible to do this at the moment, until Apple decides to open up the bluetooth libraries to the developers?
EDIT:
I was looking into the BeeTee app, and using the private API BluetoothManager.framework, but for some reason it doesnt work on IOS 10 & Xcode 8.1
Has anyone managed to make it work?
I know it is private API and most probably wont pass on App Store, but that doesnt matter at this moment, since i am looking just to test the concept, wont need to publish app at this moment.
Thanks

Sony SDK on computer

I would like to use the sony SDK to display image from my SONY alpha 5000 on my computer.
I notice that the supplied SDK is to develop and Android application. Is there a computer version SDK to be able to connect to the camera with the WIFI and control it?
Well, I'm also a newbie on the Sony remote camera API SDK. And I started with the same questions as you. Actually the API SDK can be understand as an instruction set that can be used in fairly any platform. This being said, one option is to workarround the programming language that you manage (Python, C, VB....) and send the instruction through a network service (Myself, I have been trying with network sockets on C#). There are some examples on the web, which are ready to go as Locana and Camera RC, both of which I have found very useful. If you want to make your app yourself, you can check a bit the code for C I posted on this comment (Please do not start with liveview... If you do, and get to do it, let me know). I hope it can be of any help.

Remote control Samsung TV from iOS app

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.
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)

AirDrop to implement for a app for detection

Is there any documentation for AirDrop? I want to make an app that can be installed on multiple devices, and to be able to detect other devices that are running that app, I was thinking about AirDrop to do this part of detection. I would not want to use other solutions like bonjour.
Thank you!
I recommend the Multipeer Connectivity Framework Reference
This framework allows peer-to-peer connections (similar to AirDrop) between an app installed on multiple devices and for data to be exchanged between them over the connection.
You can find examples on how to use the AirDrop API by searching for 'airdrop' in iOS Developer Library. Here is a link https://developer.apple.com/library/ios/samplecode/sc2273/Introduction/Intro.html

What WiFi-Direct Libraries Exist?

I want to play with screen sharing between my apple devices. I know WiFi direct is part of what supports the Airdrop feature to send files between macs and want to play around with that API.
I'll keep on searching, but was wondering if anyone has done this before or if Apple won't let you touch that API.
I'd also be happy to hear about any libraries that may be available specifically for raspberry-pi or for Linux in general.
Thanks
A friend of mine demoed an Android project he was working on the other day that utilized the AllJoyn library. AllJoyn is an open source API that supports Wifi-direct as well as other wireless protocols and is supported on Android, Linux, and iOS. It might be worth looking in to.
https://www.alljoyn.org/

Resources