| Reply | « Previous Thread | Next Thread » |
|
Hi guys.
I am trying to play a video file from the file system on N95 the following way with no luck: fileConnection fc = (FileConnection) Connector.open("file:///Data/12.mp4",Connector.READ); InputStream is = fc.openInputStream(); player = Manager.createPlayer(is,"video/mp4"); player.prefetch(); player.realize(); The problem is that I don’t know the path of the file that I want to play. How do I find out the path of the file that I want to play? Tamir |
| t1amir@walla.co.il |
| View Public Profile |
| Find all posts by t1amir@walla.co.il |
|
|
|
Hi Tamir,
a bit late but, if you want to play videos stored into default device's videos folder, you can use the 'fileconn.dir.videos' System property to get its full path. Also, if you want to retrieve the full list of available videos in a given directory, you can use the FileConnection list() method. Hope it helps, Pit |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| [announce] PyUIQ. Python for UIQ 2.1 and 3.x | OscarBernabeu | Python | 35 | 2008-01-17 10:12 |
| Playing AMR file is solved, Here is the solution. | khurshed79 | Symbian Media (Graphics & Sounds) | 8 | 2007-12-19 07:11 |
| to know the encoding type of recorded video file | impankaj24 | Symbian Media (Graphics & Sounds) | 2 | 2007-05-10 12:32 |
| 6280: OutOfMemoryException when playing an ebedded 3GP file? | neilskinner | Mobile Java General | 10 | 2007-02-11 14:50 |
| Playing 3GP video file in local file system. | media999 | Mobile Java Media (Graphics & Sounds) | 4 | 2006-09-14 08:53 |