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
Regular Contributor
Posts: 68
Registered: ‎03-15-2011
My Device: 9630
My Carrier: 3G
Accepted Solution

How to list the resource files in the cod file?

[ Edited ]

I want to create a file manager application, I put some png files in the "res/img/iconSet/" folder as icon images, some files have the name in this form: "rar_zip_7z.png"(one icon for 3 file type), so at first I can parse the file name and build a relation between icon image and file type.

 

My question is is there a method  allow you to list the resource files in the cod file, like list() in FileConnection?

Developer
Posts: 19,628
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to list the resource files in the cod file?

I am not aware of such a method.

Regular Contributor
Posts: 68
Registered: ‎03-15-2011
My Device: 9630
My Carrier: 3G

Re: How to list the resource files in the cod file?

yeah, seems no way to do that, I have to generate a list on pc and read it as a workaround.