I'm developing for the Nokia 3510i.
High level color management (through the Graphics class) is done using int colors (4 bytes).

Low level Nokia specific color management (through the Nokia UI SDK DirectGraphics class) is done usually using the native color packing (GetPixels for example) method of the phone (in 3510i a short since 4096 colors).

Is there any way to convert between the high level color (int) to the low level color (short) and back?

I can always try to guess.. for example take the higher 4 bits from every 8 bit color, but this doesnt seem to work all the time..