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

SampleNetworkTuner

SampleNetworkTuner 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.network">
    <permission name="android.permission.DVB_DEVICE"/>
</privapp-permissions>

Push to system/priv-app

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