Sample Applications for the Android Mobile SDK

Use the sample apps to learn about the SDK APIs and get your app up and running quickly.

The SDK sample apps are compatible with Android Studio and available in the following repository:

Ooyala Sample app Git Hub
Note: What used to be called the master branch is now called "stable". The stable branch never changes unless Ooyala publishes a release or hotfix to the sample apps. If you have already cloned or forked the repo, you must change your branch name to stable.
Table 1. Sample Applications
Sample App Description
Advanced Playback Sample App This app includes customization code to modify the player layout, create custom player controls, and code that illustrates APIs for creating a third party ad plugins.
Basic Playback Sample App A basic program to illustrate the SDK. See Creating a Basic Android App.
Complete Sample App This sample combines most of the featured code examples from all sample apps into a single application.
Content Protection Sample App This app is an example of available content protection features.
Ooyala Pulse Sample App This app illustrates how the Ooyala SDK can work in conjunction with Ooyala Pulse for ad serving.
FreeWheel Sample App This app illustrates how the Ooyala SDK can work in conjunction with FreeWheel.
Google IMA Sample App This app illustrates how the Ooyala SDK can work in conjunction with Google IMA.
NPAW Integration This app illustrates an implementation of the NPAW integration for Android.
Ooyala API Sample App This app illustrates an implementation of the Channel Content APIs.
Options Sample App This app illustrates use of the Options.Builder class methods for configuring network timeouts (see About Network Timeouts), Cuepoint Markers, Enabling TV Ratings for Android Assets, and working with VisualOn configurations (see Overriding the Default VisualOn Library For Android Apps).
Secure Player Sample App This app illustrates use of the HLS Secure Player. To run this app, you must first correctly install the HLS decoding libraries provided by your Ooyala representative. The provided libraries include a shell script you must run before you can test the app in your IDE emulator. This script is designed to run in a Linux or Mac terminal (use Cygwin for Windows).
Note: This app cannot run in the IDE emulator. To test this app, configure the IDE to use an attached device.
VisualOn Sample App This app illustrates use of the Secure Player with VisualOn specific libraries for live streaming and VOD. To run this app, you must first correctly install the VisualOn HLS decoding libraries provided by your Ooyala representative. The provided libraries include a shell script you must run before you can test the app in your IDE emulator. This script is designed to run in a Linux or Mac terminal (use Cygwin for Windows). For more information see About VisualOn Integrations.
Note: This app cannot run in the IDE emulator. To test this app, configure the IDE to use an attached device.
Warning:

As of April 1, 2016 the Ooyala Android SDKs have been shipping with Google ExoPlayer libraries instead of the VisualOn libraries. While there are steps that you will need to take, moving to ExoPlayer will provide a more consistent, higher quality HLS and MPEG-DASH playback experience for VOD and live streams on Android devices.

As of August 1, 2016, Ooyala will no longer support the HLS player integration with VisualOn or provide bug fixes or improvements specific to VisualOn libraries.

In order to upgrade, you will need to

Was this article helpful?