forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BD-J and access to file

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
jmdetiege



Joined: 17 Jul 2008
Posts: 10

PostPosted: Fri Sep 12, 2008 11:59 pm    Post subject: BD-J and access to file Reply with quote

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
View user's profile Send private message
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Sat Sep 13, 2008 7:25 am    Post subject: Reply with quote

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
View user's profile Send private message
jmdetiege



Joined: 17 Jul 2008
Posts: 10

PostPosted: Tue Sep 16, 2008 12:26 am    Post subject: Reply with quote

Tks, I'm trying that quickly
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group