BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-18-2007, 05:38 AM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: blackberry
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Creation of simple Video player

Please Login to Remove!

hi all,

how to create a simple video player in uiapplication.give some information.

thanks,
Offline  
Old 08-19-2007, 07:26 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Location: Bangladesh
Model: 8800
PIN: N/A
Carrier: EDGE
Posts: 93
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi crazystar,

You may use "javax.microedition.media.Player".

Simple Playback Example:
Code:
try {
	Player p = Manager.createPlayer("file:///SDCard/cool.mp4");
	p.start();
} catch (MediaException pe) {
} catch (IOException ioe) {
}
Hope this will help!

Cheers,
ARIF
Offline  
Old 08-19-2007, 11:34 PM   #3 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: blackberry
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks,
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.