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: 42
Registered: ‎03-17-2012
My Device: Blackberry playbook
My Carrier: none
Accepted Solution

How can I get the name of images in my res package?

Hello,

I have a lot of images in 'res' package of my project. I need to get the name of these files and save them in an array. How can I do it?

Thank you.

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

Re: How can I get the name of images in my res package?

there is no API for that, your application has to "know" the names of the images.
----------------------------------------------------------
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
Highlighted
Contributor
Posts: 42
Registered: ‎03-17-2012
My Device: Blackberry playbook
My Carrier: none

Re: How can I get the name of images in my res package?

Ok, thank you.