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

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

Re: getting the name of an image from the directory and adding more than one MenuItem to Camera and DPI formula

As noted, I don't see the value in this.  To use the Android high, medium and low resolutions images requires that you have all 3 sets of assets in the one build.  Instead I would just package the high density and scale down according the to the ratio of density that you find.  Do this once while displaying the splash screen and retain a shred reference to the scaled asset and you are done!