Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 49
Registered: ‎07-06-2009
My Device: Not Specified
Accepted Solution

How to get the creation date on files stored on the SMCard

Hi. I´d like to know if there is a way to get the creation date of files from the SDCard. I´m using the javax.microedition.io.file.FileConnection.lastModified() method 'cause the client is not allowed to modify the files at all but I´d like to know if anyone of you have another way. 

Thank you in advance!

 

Jose

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: How to get the creation date on files stored on the SMCard

You would like to modify the file which you have selected? Is the file connection is opened with full permission?

Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 49
Registered: ‎07-06-2009
My Device: Not Specified

Re: How to get the creation date on files stored on the SMCard

No, I just want to open a pop up screen with some information about the file. What I´m doing it´s using the lastModified method. I assume it´s the same date of creation 'cause I´m not allowing the user to modify files. But I´d like to know if the information about the creation date it´s stored somewhere with the file.
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: How to get the creation date on files stored on the SMCard

[ Edited ]
AFAIK, we can't get that info.
Message Edited by BBDeveloper on 07-07-2009 02:43 PM

Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 49
Registered: ‎07-06-2009
My Device: Not Specified

Re: How to get the creation date on files stored on the SMCard

Thank you very much!
Highlighted
New Contributor
Posts: 8
Registered: ‎06-06-2010
My Device: curve 8520
My Carrier: vodafone

Re: How to get the creation date on files stored on the SMCard

how does the OS 6 music player show the date created of the music file when we see the properties of the file?

 

go to Media>Music>All Songs>scroll to  a song and press menu key and select Properties

New Contributor
Posts: 8
Registered: ‎06-06-2010
My Device: curve 8520
My Carrier: vodafone

Re: How to get the creation date on files stored on the SMCard

 


ASHWINDAGA wrote:

how does the OS 6 music player show the date created of the music file when we see the properties of the file?

 

go to Media>Music>All Songs>scroll to  a song and press menu key and select Properties


New Contributor
Posts: 8
Registered: ‎06-06-2010
My Device: curve 8520
My Carrier: vodafone

Re: How to get the creation date on files stored on the SMCard

 

how does this get the file created date then? this is from BB 9780 OS 6.