Android Tv: get list of channels

前端 未结 2 1977
遇见更好的自我
遇见更好的自我 2021-01-05 04:12

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

2条回答
  •  北海茫月
    2021-01-05 04:43

    Additionally to "com.android.providers.tv.xxx" EPG permissions needed in the manifest file, you must sign your .apk ! Otherwise you will see all the TvInput available on your device but none of the channels composing these tvInput (and this, without any error returned ;-)). Android Studio provides this features ('BUILD' menu entry then 'Generate Signed APK') see How to sign an android apk file

提交回复
热议问题