0

mMediaRouteSelector = new MediaRouteSelector.Builder() .addControlCategory(CastMediaControlIntent.categoryForCast("YOUR_APPLICATION_ID")) .build();

If I pay $5 for google cast sdk then I can use this sdk for multiple devices for testing purpose or not or If any other way to connect the android application with any TV or projector.

Anuj Kalal
  • 83
  • 1
  • 10

1 Answers1

2

If you register your application, you'll get an Application Id and then you can register your Cast devices for testing without publishing your app and then publish your app when ready. If you don't want to register to get your own Application Id, you can use the Default Receiver (app id=CastMediaControlIntent.DEFAULT_MEDIA_RECEIVER_APPLICATION_ID)

Ali Naddaf
  • 16,951
  • 2
  • 21
  • 28
  • If i use Default Receiver then Can I publish my app for everyone ? – Anuj Kalal Feb 16 '16 at 05:18
  • 1
    If you use the Default Receiver, there is no need to publish any receiver; all you would need to do is to publish your Android app like any other Android App. – Ali Naddaf Feb 16 '16 at 05:22