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
New Developer
Posts: 2
Registered: ‎04-13-2009
My Device: Not Specified
Accepted Solution

how to display file list...

hi all

 

how can i show the file list in my application?

for  example,i want to show all the  *.cfg file in SD Card to let user to choice which he want to run...

 

thinks

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

Re: how to display file list...

"fileexplorerdemo" sample shipped with JDE is good to start with for your requirement.

Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 1,477
Registered: ‎12-30-2008
My Device: Torch 9810

Re: how to display file list...

[ Edited ]

An instance of type FileConnection will be what you are using to go to that directory.. You can call list() method with that FileConnection instance to list the files and folders present in that directory..

 

Thanks! 

 

EDIT: Was in edit, when BBDeveloper posted, yes that's a good idea too, have a look at fileexplorerdemo provided with the JDE 

Message Edited by mantaker on 04-13-2009 01:04 PM
--
Manimaran Selvan
Co-Founder, Tech Lead,
Equity Markets Research Group
New Developer
Posts: 2
Registered: ‎04-13-2009
My Device: Not Specified

Re: how to display file list...

thanks a lot。。
Developer
Posts: 342
Registered: ‎02-04-2009
My Device: BB 8320

Re: how to display file list...

@wyn267

Please make the thread solved, when your problem get resolved. 


Use Search. "Accept Solution" if the problem gets resolved.