Changing resolution on a nokia java file (S60 3rd ed or later)

or how to cheat and support a Nokia 352×416 using “normal” S60 (176×208).

Either in the manifest file or the jad file enter these two lines. (thus making it possible to use a Nokia S60 file on a Nokia N80 (et al)

Nokia-MIDlet-Original-Display-Size: 176,208
Nokia-MIDlet-Target-Display-Size: 352,416

This parameter works on all S60 3rd ed (or later).

Documentation from Nokia about this