Skip to main content

problem in the creation of a file in persistent storage

1 reply [Last post]
ashokabk
Offline
Joined: 2008-08-25
Points: 0

Hi All,

I am trying to create a file in the persistance storage of Bluray player.
And then i'm writing and reading datas into/from the persistance storage.

It is working properly in software players like Arcsoft and Windvd. But the same failed to create file in the persistent storage in the sony player BDP-S350.

I suspect that this is some thing to do with the permission fie (perm file)

String root = System.getProperty("dvb.persistent.root");
String orgID = (String) oXletContext.getXletProperty("dvb.org.id");
String appID = (String) oXletContext.getXletProperty("dvb.app.id");

sHomeURLFile = root + File.separator + orgID + File.separator + appID;

try{

File f = new File(sHomeURLFile, "setHomeUrl.txt");
if(!f.exists()){
f.createNewFile();
}
BufferedWriter bw = new BufferedWriter(new FileWriter(f));
bw.write("Some text");
bw.close();

}catch(Exception e){
e.printStackTrace();
}

Also my perm file is as follows.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

*

Could you please tell me what is the problem...
where i'm doing wrong

Thanks in advance,
Ashoka B K

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vinaykagarwal
Offline
Joined: 2006-01-14
Points: 0

Ashoka,

The easiest way to get it working is to start with ProgressivePlaylist sample. Just see how that unzips files in Buda area.

Vinay