OpenTV Player SDK 4 for Android

Android SDK 4 Integration Guide

The following procedures describe creating a new OpenTV Player application in Android and adding an NMPVideoView to play specified clear and encrypted video streams.

OpenTV Player is also referred to as the NAGRA Media Player or NMP.

Prerequisites

This example shows how to build the app on Windows. The following development tools need to be installed; the number in square brackets is the earliest supported version of the software and version verified by NAGRA.

The app requires a physical Android device with USB debugging enabled as per Android guidelines (http://developer.android.com/tools/device.html). It will not work on an emulator.

NAGRA supplies the following files as part of your release:

  • The SDK files

  • The Operator Vault file (opvault.json)

Integration process

We recommend you perform integration of OpenTV Player SDK 4 in the following stages:

  • In conjunction with the  Android SDK 4 Example Code Quick Start guide, use the code examples to explore and test the features of the OpenTV Player.

  • Using this guide, create a basic player; for details, see:(4.23.x) Creating the project(4.23.x) Adding OpenTV components(4.23.x) Running the application

  • Develop your code to add encrypted playback and other features to the player.(4.23.x) Adding player features

  • When development is complete, replace the integration file with the production version. Carry out final testing and submit to the Google Play Store.(4.23.x) Building the production version