Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 06521fe7cc

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
arm
x86
.cproject
.project
LICENSE
Makefile
NOTICE
bar-descriptor.xml
common.mk
icon.png
main.c
manifest.properties
pb_sample.mp4
readme.txt
sample-splashscreen-landscape.png
sample-splashscreen-portrait.png

readme.txt

VideoWindow

========================================================================
Sample Description:

 The VideoWindow sample is an application that is designed to show you how to
 use the multimedia capabilities of the Native SDK in concert with OpenGL ES
 2.0.

 When the application starts, there is a green "Play" symbol that can be
 pressed.

 When the button is pressed, the play button turns into a blue stop symbol and
 video playback begins.  While the video is playing, the user can chose to stop
 the video by tapping the blue symbol.  The blue stop symbol will then turn into
 a green play symbol.  When the green symbol is pressed, playback will continue.

 The user may swipe from the top of the bevel into the video (down-swipe) in
 order to hide the symbol.  This is achieved by changing the z-order of the
 mmrender video surface.

 Feature summary
 - Creating a playback window
 - Connecting and configuring the renderer
 - Configuring video input and output
 - Starting and stopping video playback
 - OpenGL ES 2.0 graphics composited on top of video

========================================================================
Requirements:

 - BlackBerry Native SDK for Tablet OS 2.0 or later
 - One of the following:
   - BlackBerry PlayBook tablet running BlackBerry Tablet OS 2.0 or later
   - BlackBerry Tablet Simulator 2.0 or later

========================================================================
Importing a project into the Native SDK:

 1. From the the Sample apps page, download and extract the sample application.
 2. Launch the Native SDK.
 3. On the File menu, click Import.
 4. Expand General, and select Existing Projects into Workspace. Click Next.
 5. Browse to the location where you extracted the sample app, and click OK.
    The sample project should display in the the Projects section.
 6. Click Finish to import the project into your workspace.

Something went wrong with that request. Please try again.