tree: 02778f024c0fafe0ac7dea5de6b97188a1c70b40 [path history] [tgz]
  1. app/
  2. setup/
  3. singletons/
  4. tvinput/
  5. util/
  6. AndroidManifest.xml
  7. README.md
tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/README.md

SampleDvbTuner

SampleDvbTuner is the reference DVB Tuner. Partners should copy these files to their own directory and modify as needed.

Prerequisites

  • A DVB Tuner
    • A Nexus player with a USB Tuner attached will work.
  • system privileged app
    • The DVB_DEVICE permission requires the app to be a privileged system app

First install

Root

adb root
adb remount

modify privapp-permissions-atv.xml

Edit system/etc/permissions/privapp-permissions-atv.xml

<privapp-permissions package="com.android.tv.tuner.sample.dvb">
    <permission name="android.permission.DVB_DEVICE"/>
</privapp-permissions>

Push to system/priv-app

adb shell mkdir /system/priv-app/SampleDvbTuner
adb push <path to apk>  /system/priv-app/SampleDvbTuner/SampleDvbTuner.apk