I'm trying to get an Android TV app to launch with DIAL. I have the application installed on my Android TV as
"com.test.example"
I also have that path registered to the DIAL site, here: http://www.dial-multiscreen.org/dial-registry/namespace-database
I can pair to the Android TV from my phone via DIAL, but any time I try to actually start the application (using the ConnectSDK), I get a very nondescript error message back. There is very little documentation for how this should work. Do I need to register some kind of DIAL receiver in my AndroidManifest for the TV app? How can I get it to recognize what I'm doing. I've tried to pass the "appId" in the following ways...
appId = "com.text.example"
appId = "example"
appId = "Example"
Is there more to this somewhere that I'm missing?
Discovery and Launch (DIAL) is a protocol co-developed by Netflix and YouTube with help from Sony and Samsung. It is a mechanism for discovering and launching applications on a single subnet, typically a home network.
DIAL—for DIscovery And Launch—is a simple protocol that second-screen devices can use to discover and launch apps on first-screen devices. Tablet, Phone etc. TV, Set-top box, Blu-ray etc. For example, suppose you discover a video on your mobile app and want to play it on your connected TV. Without DIAL.
Your application actually is not registered in the database. Neither in registered names, nor in the registered prefixes.
The reason for that is on the registry's about page in the Naming rules section:
- An Application Prefix MUST be at least four (4) characters in length (after decoding percent-encoded characters) and must include a recognizable company name. For example: “Acme-”, “com.acme”.
You meet the length requirement, but I doubt the part about the recognizable company name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With