RyanInBinary
RyanInBinary

Reputation: 1547

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?

Upvotes: 14

Views: 1168

Answers (1)

SceLus
SceLus

Reputation: 1107

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.

Upvotes: 1

Related Questions