Android Tv: get list of channels
I've installed the androidtv-sample-inputs so I can fake some Tv inputs and have some channels and I wanted to get information about that channels, however, when I query to get that information I get an empty cursors. What i've tried so far is: TvInputManager tv = (TvInputManager)getApplicationContext().getSystemService(Context.TV_INPUT_SERVICE); List<TvInputInfo> list = tv.getTvInputList(); String[] projection = { TvContract.Channels._ID, TvContract.Channels.COLUMN_DISPLAY_NUMBER }; ContentResolver cr = getContentResolver(); Iterator<TvInputInfo> it = list.iterator(); while(it.hasNext()) {