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
Contributor
Posts: 35
Registered: ‎12-01-2011
My Device: BlackBerry 8520
My Carrier: Generic

bb 5.0 get directory content

My big doubt is as simple as the title Smiley Very Happy

 

I have an X directory where im going to have some images, and i need to send each image of the directory in a mail.

 

No idea how to check the contest of the directory, and list each file of it so i can send it in a mail.

is it possible?

 

THX in advance.

Developer
Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: bb 5.0 get directory content

http://www.blackberry.com/developers/docs/7.1.0api/javax/microedition/io/file/FileConnection.html

don't hesitate to look at the appropriate samples in your eclipse installation (fileexplorerdemo etc)
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Contributor
Posts: 35
Registered: ‎12-01-2011
My Device: BlackBerry 8520
My Carrier: Generic

Re: bb 5.0 get directory content

thx, im going to check the example (i have all of them in worksapce but didnt notice that was related)