Android Tv: get list of channels

青春壹個敷衍的年華 提交于 2019-12-01 04:14:33

What kind of permission are you using ?

If your application isn't systemOrSignature, you can only access your own channels and programs from queries to the TV provider. All the queries you're doing are filtered on your package name.

I guess that the information you can retrieve from a channel are restricted to what is accessible from TvInputInfo.

g910

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!