0

I tried adding channels to Default TV App in Android TV using TV Input Framework. Channels are getting added by specifying mandatory params. But the Channel is getting ignored and it shows message,

com.google.android.tv E/ChannelDataManager: Ignoring an incoming channel with invalid input id.

Any Ideas about why this happens and how to mitigate it?

Prasanna Sundar
  • 1,650
  • 1
  • 11
  • 16

1 Answers1

1

You have to set correct input id (TvContract.Channels.COLUMN_INPUT_ID) which You get with intent for setup activity.

Input id looks like applicationId/classNameRegisteredAsInputService, where

  • applicationId: com.company.myapp
  • classNameRegisteredAsInputService - class you specify in manifset as service with android.permission.BIND_TV_INPUT: com.company.myapp.tvinput.service.IptvTvInputService
Michael Sotnikov
  • 604
  • 3
  • 13