PDA

View Full Version : series 40 screen tester - need colour specs



Thanh
27-06-2003, 02:48 PM
Hello :)
I wanted to create a little java application which would allow to test the screen of a series-40 phone.
I am no software guy, but this looks simple enough: Start it, and it will put the entire screen, all 16.384 pixels, in one colour. Then it goes to the next colour etc for all 4096 colours the phone can display. This will of course need time, and could be used to detect a screen problem.
However, i would need to know WHICH colours are the ones the phone can display. They have codes, right? something like "FFFFFFF" for "black" etc. Where can i find a list or a document with those codes for all 4096 available colours? Anybody got a link?
Thanks in advance for your help.....
your Thanh

bobl
27-06-2003, 03:15 PM
I don't actually know this for sure, but I tried to work in out on principles alone...big mistake, but here goes:

4096 colours, therefore the colour will be defined by a 12bit string

2^12 = 4096.

Therefore the hex values would be from 0000 to 0FFF

I assume 0000 will either be white or black...(and the opposite of 0FFF)

I also assume that once you start programming in java (You are programming in java right? :D), you'll come across APIs which allow you to use hex values (or decimal or binary) and you can simply test it out on that.

Gluck!

Bob