| View previous topic :: View next topic |
| Author |
Message |
jmdetiege
Joined: 17 Jul 2008 Posts: 10
|
Posted: Fri Sep 12, 2008 11:59 pm Post subject: BD-J and access to file |
|
|
hello,
First excuse for my poor english, i'm french belgian.
i'm newbie in PS3 dev and i'm try to begin with BD-J dev on PS3
Everywhere, i'm read that is not possible to access file with BD-J but i'm read that BD could have access to local 'optionnal'storage ans system 'mandatory' storage.
Anyone have more explanation about this ?
Somebody could say me if this http://www.java-tips.org/java-me-tips/midp/how-to-access-local-file-systems-from-j2me-devices-using-fileconnectio-2.html could help us ?
Tks a lot for your help
Ji-Moutch |
|
| Back to top |
|
 |
mc

Joined: 12 Jan 2005 Posts: 212 Location: Linköping
|
Posted: Sat Sep 13, 2008 7:25 am Post subject: |
|
|
You can access files just fine as long as they are on the BluRay media (in the
AVCHD directory in the case of BD-J on USB memory). Use System.getProperty("bluray.vfs.root")
to get the base path to use. So to access a file in AUXDATA for example, use
File myfile = new File(System.getProperty("bluray.vfs.root"),
"BDMV"+File.separatorChar+"AUXDATA"+File.separatorChar+"MYFILE.XYZ");
However, I think your .perm file needs to contain one or more of the following
<file value="true"></file>
<bd-vfs value="true"></bd-vfs>
for this to work. _________________ Flying at a high speed
Having the courage
Getting over crisis
I rescue the people |
|
| Back to top |
|
 |
jmdetiege
Joined: 17 Jul 2008 Posts: 10
|
Posted: Tue Sep 16, 2008 12:26 am Post subject: |
|
|
| Tks, I'm trying that quickly |
|
| Back to top |
|
 |
|