Scanning for Google Cast devices - ios

I have no Chromecast so I'm trying to use these apps as Google cast devices (receivers):
https://github.com/dz0ny/leapcast
https://itunes.apple.com/sk/app/rplay/id692511073?mt=8
https://chrome.google.com/webstore/detail/cr-cast/acmfmindblghbicdipoakcolegkcddbk
All of these apps worked fine (at least was found) with iOS YouTube application.
When I'm trying to find these "devices" (receivers) in my app with
self.deviceScanner = [GCKDeviceScanner new];
[self.deviceScanner addListener:self];
[self.deviceScanner startScan];
none device is found. No GCKDeviceFilter is used, I just want to see all cast devices on network. I'm using GoogleCastFramework-2.2.1-Release.

None of these app will be discovered, nor will work with the official Cast SDK since these are fake (i.e. unofficial) devices. The official Cast SDK checks to make sure the Cast device is a genuine one.

Related

Yubico SDK and FIDO Device

I'm writing a client application using yubico.Yubikey SDK in .Net. I'm trying to write a code which can fetch "FEITIAN" USB FIDO device connected to my laptop. Though Yubico and FEITIAN are two different companies, Still it shoul support protocol for FIDO standard.
Till now, I have tried following two methods, but both failed to get FEIIAN device.
IYubiKeyDevice yubiKeyDevice = YubiKeyDevice.FindByTransport(Transport.All).First();
var yubikeys = YubiKeyDevice.FindAll();
Please let me know if there's any another way.
Pretty sure the .NET SDK is hard coded to only find devices with the Yubico brand device identifier. The SDK is open source and can be found here: https://github.com/Yubico/Yubico.NET.SDK.

macOS - Get information from connected iOS device via USB

I'm developing a macOS app which needs to detect & get information from connected iOS devices via an USB cable.
I've read here how I can get the name of the devices connected via USB, but I'm only able to get a short name of the device (i.e. iPhone instead of John's iPhone)
I'm looking for a way to retrieve the device's full name, and other information about the device: iOS version, device id, carrier etc.
Can this be achieved using Swift?
Thanks to #Robert's comment, I found out about libimobiledevice's ideviceinfo which does what I needed. I couldn't find a way to directly include it in my app, but I found the imobiledevice-net repo, which has macOS libraries on the release page.
These libraries can be used with the help of Swift's Process class.

Support chromecast in native iOS app

I have an iOS app which can play to apple TV using AirPlay. As I have heard that chrome cast extended the support to iOS how would I be abs to cast from my native iOS app to chrome cast so that video will be played in Google TV/Smart TV.
I have tried researching this in google however did not find any topic.
There is a Cast SDK that you would use to discover Cast devices on your local network and then cast to them from your sender device (iOS, Android or Chrome device). You may or may not need to have your own receiver, which runs on the Chromecast; in most cases you don't need to have your own and can use the one that Google provides. Details are more than what can be summarized here but can be found here. In addition, there is a number of sample projects that you can also look at to see how the documentation works in a real application.

Apple80211Scan in iOS7

I am trying to get the list of available Wireless Networks available and their signal strength. I am trying to use Apple80211Scan Private APIs and using an iOS 7 device (not jail-breaken). So far successful in getting currently connected network's information using Apple80211GetInfoCopy. However the scan API doesn't work. The return code by this method is 1.
I looked at the error codes for the 80211 Scan APIs listed # http://code.google.com/p/iphone-wireless/wiki/Apple80211Scan. However 0 and -1 is alone discussed. Has any one tried this on iOS7. Any help is appreciated.
Apple80211Scan will not work on a non jailbroken device due to sandboxing. The return value of 1 signifies that it was unable to scan the network, and the reason why is because Apple simply does not allow you to do this in a sandboxed environment. The only you can use Apple80211Scan is by jailbreaking and installing your app in /Applications on the device to remove the sandboxing.

How to integrate Chromecast APIs in iOS?

I am going to integrate chromecast SDK into iOS, but here I am bit a confuse with receiver.html and whitelist email that exactly how to go with them.
So anyone please explain me regarding same.
Also tell me if it is compatible with any iOS Simulator instead of device.
Many developers successfully use the iOS simulator. https://developers.google.com/cast/cast_2nd-screen_app_tutorial for iOS and Android.
The Receiver is the HTML5 application that you create that runs on the Chromecast device. Your iOS application talks to the Receiver, the Receiver will fetch your content from the internet based on the information that comes from your iOS application.

Resources