10-30-2008, 12:28 PM
Thumbs Must Hurt
Join Date: Nov 2007
Location: atm: Kunming norm: Berlin
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | problems loading file / playing video
Please Login to Remove!
I want to play a video from the local store in my application using net.rim.plazmic.mediaengine.MediaManager.
When I try to load a video(or any other file) I get a "File not found Exception" at this line:
media = mm.createMedia("file:///store/home/videos/BlackBerry.mp4");
The file is definitely at this path (I copied it there myself and also opened it from there in the BB-Mediaplayer...)
what do I do wrong?
Thanks in advance,
when I use the class javax.microedition.media.Manager ( mp = Manager.createPlayer("file:///store/home/music/Alarm_EarlyRiser.mp3"); ) (again, i copied the files to that path)
I get an IOException with the following message:
"Locator does not reference a valid media file"
When I open the file(s) in the normal BB-Mediaplayer everything works fine...
Last edited by jenselense : 10-30-2008 at 01:05 PM.