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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
jlfernandez
Posts: 49
Registered: ‎07-06-2009
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

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008

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.
Please use plain text.
Developer
jlfernandez
Posts: 49
Registered: ‎07-06-2009

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.
Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008

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.
Please use plain text.
Developer
jlfernandez
Posts: 49
Registered: ‎07-06-2009

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

Thank you very much!
Please use plain text.
New Contributor
ASHWINDAGA
Posts: 8
Registered: ‎06-06-2010
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

Please use plain text.
New Contributor
ASHWINDAGA
Posts: 8
Registered: ‎06-06-2010
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


Please use plain text.
New Contributor
ASHWINDAGA
Posts: 8
Registered: ‎06-06-2010
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.

Please use plain text.