Getting Started: Setting Up Your Environment in Android Studio

Use these steps to set up the SDK using the Eclipse development environment. They provide instructions on how to get started with our default Player Skin (with limited customization options) using the BasicPlaybackSampleApp available from this link. To get started with with our customizable Player Skin (based on React Native), just use our OoyalaSkinSampleApp available from this link in Step 4 below.
Tip: Use this skeleton as a starting point for all Ooyala Mobile SDK applications. All applications in this repository should be automatically importable, compilable, and runnable.
  1. Clone this repository onto your computer: git clone https://github.com/ooyala/android-sample-apps.git
  2. Open Android Studio
  3. Either press "Open an Existing Android Studio Project" or click File > Open...
  4. For the basic player skin app, navigate to android-sample-apps/BasicPlaybackSampleApp. For the customizable player skin app, navigate to android-sample-apps/OoyalaSkinSampleApp.
  5. Press Choose, or OK
  6. Wait for the Gradle execution to complete. You should see "app" appear as one of the build configurations.
  7. Run the application (Run > Run App) - choose either a connected device or a simulator to run on.
  8. When the application loads, you will have a list of videos to choose from. Pick any of them to view video playback.
To use the upgraded version of the Android SDK (including the integration with VisualOn libraries), see Getting Started: Enabling Upgrade for HLS Playback.

Was this article helpful?