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

New Developer
Posts: 41
Registered: ‎05-24-2009
My Device: Storm 9530

Number of colors in phone display

Hey guys,


So I was just testing out an early build of one of my apps in the simulator, and it looked absolutely hideous. I have a gradient background, and it was showing maybe 4 different shades of grey. So I load it up on my device, and it looks pretty much fine. Is there a reason why it would look different on both the device and the simulator?





BlackBerry Mobile Software Developer
New Developer
Posts: 3
Registered: ‎11-21-2009
My Device: Not Specified

Re: Number of colors in phone display

Desktop colour depth set to 16-bit perhaps?  I've not seen any colour issues such as this on the Storm simulator.

Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-, Z10 (STL100-3)-, Z30 (STA100-5)-, Passport (SQW100-1)-, PlayBook (16GB)-
My Carrier: Verizon

Re: Number of colors in phone display

The Storm's color depth is 16bit. Don't know about other BlackBerry's color depth. You can find out how many colors the BlackBerry supports by calling Display.getNumColors().

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.