Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DIAL protocol for launching android application

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?

like image 451
RyanInBinary Avatar asked Jul 20 '16 19:07

RyanInBinary


People also ask

What is Dial protocol?

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.

What is Dial multiscreen?

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.


1 Answers

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:

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

like image 69
SceLus Avatar answered Nov 20 '22 19:11

SceLus