Play a video

In this tutorial, we'll show you how to play a video file using the multimedia rendering capabilities of the BlackBerry Native SDK for Tablet OS. You can take the concepts learned here and apply it to any type of media that the BlackBerry Tablet OS supports, including .mp3, .mp4, .avi, and .wmv files.

The fully completed code used in this tutorial is available as a BlackBerry Tablet OS Example Project in the QNX Momentics IDE or, if you prefer, you can download the Play a video project.

Screen showing the video playback sample.

You will learn to

  • Configure your project
  • Create a playback window
  • Connect and configure the renderer
  • Configure the input and output
  • Start and stop playback