Skip to main content

FileSystemRegistry.listRoots() returns nothing

11 replies [Last post]
Anonymous

I'm trying to read the file roots on a Motorola E1 using FileSystemRegistry.listRoots() but it's returning nothing. Has anyone come across this problem?

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Stefano Sanna

Joe Bowbeer wrote:
> Oh yeah. I've experienced that, too. Maybe I spaced it because the
> end result is the same: in either case, the app is rendered useless
> unless it is signed.

Definitively yes! Complitely USELESS. :-(

--
Stefano Sanna - gerdavax@tiscali.it
Personal web site: http://www.gerdavax.it
AIM: gerdavax - Skype: gerdavax - Callsign: IS0DZE

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Christophe Planty

Read & Write are accessible on SonyEricsson unsigned MIDlet, but you'll be prompted each time.

With a Verisign certificate signed MIdlet, you can change the settings to 'ask once'.

I confirm on Motorola, a Manufacturer or Operator level signature is needed, check on motocoder : 'JAL' is needed to allow MIDlet loading and a certificate bound to this device only can be given (or sold?) by Motorola.

/Chris(p)

-----Message d'origine-----
De : A mailing list for KVM discussion [mailto:KVM-INTEREST@JAVA.SUN.COM] De la part de Chris B
Envoyé : lundi 26 février 2007 20:14
À : KVM-INTEREST@JAVA.SUN.COM
Objet : Re: FileSystemRegistry.listRoots() returns nothing

Yes Nokia and Sony Ericsson work fine for reading (a lot of prompts) but
require signature for writing

----- Original Message -----
From: "Joe Bowbeer"
To:
Sent: Monday, February 26, 2007 6:53 PM
Subject: Re: FileSystemRegistry.listRoots() returns nothing

> Oh yeah. I've experienced that, too. Maybe I spaced it because the
> end result is the same: in either case, the app is rendered useless
> unless it is signed.
>
> On 2/26/07, Stefano Sanna wrote:
>> Joe Bowbeer wrote:
>> > I don't know of any manufacturer that doesn't require a signature for
>> > access to File I/O (JSR-75).
>>
>> On some Nokia devices you can access filesystem without signature;
>> however, user is being prompted everytime the application accesses a
>> file.
>>
>> Kind regards,
>> Stefano.
>>
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Kirwan Lyster

Neither Nokia nor Sony Ericsson require the application to be signed to
read from FileConnection, though I don't know about writing.

Cheers,
Kirwan

Joe Bowbeer wrote:
> I don't know of any manufacturer that doesn't require a signature for
> access to File I/O (JSR-75).
>
> On 2/26/07, Chris B wrote:
>> not signed no.
>>
>> why do motorola require a signature and other manufacturers don't?
>>
>
> ===========================================================================
>
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Stefano Sanna

Chris B wrote:
> not signed no.
>
> why do motorola require a signature and other manufacturers don't?

I don't know why, sorry. :-)

If you look at Motorola's device specifications, you'll find that JSR75
is accessible only to signed midlets.

Kind regards,
Stefano.

--
Stefano Sanna - gerdavax@tiscali.it
Personal web site: http://www.gerdavax.it
AIM: gerdavax - Skype: gerdavax - Callsign: IS0DZE

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Chris B

also shouldn't a security exception be thrown? it doesn't seem to throw one

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Anonymous
Chris B

not signed no.

why do motorola require a signature and other manufacturers don't?

----- Original Message -----
From: "Stefano Sanna"
To: "Chris B"
Sent: Monday, February 26, 2007 5:52 PM
Subject: Re: FileSystemRegistry.listRoots() returns nothing

> Chris B wrote:
>> I'm trying to read the file roots on a Motorola E1 using
>> FileSystemRegistry.listRoots() but it's returning nothing. Has anyone
>> come across this problem?
>
> Is your MIDlet signed?
>
> Kind regards,
> Stefano.
>
> --
> Stefano Sanna - gerdavax@tiscali.it
> Personal web site: http://www.gerdavax.it
> AIM: gerdavax - Skype: gerdavax - Callsign: IS0DZE

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Joe Bowbeer

I don't know of any manufacturer that doesn't require a signature for
access to File I/O (JSR-75).

On 2/26/07, Chris B wrote:
> not signed no.
>
> why do motorola require a signature and other manufacturers don't?
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Stefano Sanna

Joe Bowbeer wrote:
> I don't know of any manufacturer that doesn't require a signature for
> access to File I/O (JSR-75).

On some Nokia devices you can access filesystem without signature;
however, user is being prompted everytime the application accesses a file.

Kind regards,
Stefano.

--
Stefano Sanna - gerdavax@tiscali.it
Personal web site: http://www.gerdavax.it
AIM: gerdavax - Skype: gerdavax - Callsign: IS0DZE

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Joe Bowbeer

Oh yeah. I've experienced that, too. Maybe I spaced it because the
end result is the same: in either case, the app is rendered useless
unless it is signed.

On 2/26/07, Stefano Sanna wrote:
> Joe Bowbeer wrote:
> > I don't know of any manufacturer that doesn't require a signature for
> > access to File I/O (JSR-75).
>
> On some Nokia devices you can access filesystem without signature;
> however, user is being prompted everytime the application accesses a file.
>
> Kind regards,
> Stefano.
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Chris B

Yes Nokia and Sony Ericsson work fine for reading (a lot of prompts) but
require signature for writing

----- Original Message -----
From: "Joe Bowbeer"
To:
Sent: Monday, February 26, 2007 6:53 PM
Subject: Re: FileSystemRegistry.listRoots() returns nothing

> Oh yeah. I've experienced that, too. Maybe I spaced it because the
> end result is the same: in either case, the app is rendered useless
> unless it is signed.
>
> On 2/26/07, Stefano Sanna wrote:
>> Joe Bowbeer wrote:
>> > I don't know of any manufacturer that doesn't require a signature for
>> > access to File I/O (JSR-75).
>>
>> On some Nokia devices you can access filesystem without signature;
>> however, user is being prompted everytime the application accesses a
>> file.
>>
>> Kind regards,
>> Stefano.
>>
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".