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
frandelbetis
Posts: 42
Registered: ‎03-17-2012
My Device: Blackberry playbook
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
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

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
Contributor
frandelbetis
Posts: 42
Registered: ‎03-17-2012
My Device: Blackberry playbook

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

Ok, thank you.