FX-602P $WikiTagline
 

The calculator can be customized so looks and works the way you want it. You can change the keyboard layout and the background graphic. In order to do so you will need a zip tool, a text editor, an image manipulation program and Informer to find out the system properties and key codes of your device.

Before you begin you need to unpack the jar file - it's just a normal zip file so a standard zip tool will do. Ignore all the *.class files - the important files are the *.png and the *.lst files.

And after you have made your changes you should repack the the .jar file. Make sure to preserve the directory layout.

List file

There is one *.lst file for each calculator set-up found in the root directory of the jar file

Filenames

The name of the file depend on the operating system used:

operating systemDescriptionDefault
Symbian / UIQ3The file names of the *.lst files are made up of the internal name of the calculator (displayed for example by Informer, use the text up to the first '/'), a dash, the active locale and the ".lst" postfix.SonyEricssonP990i-en.lst
Symbian / S60The file names of the *.lst files are made up of the internal name of the calculator (displayed for example by Informer, use the text up to the first '-'), a dash, the active screen size and the ".lst" postfix.Nokia5800d-nhd.lst
Windows MobileThe file names of the *.lst files are made up of the internal name of the JaveME systems - For example Jbed, [-(displayed for example by Informer a dash, the active screen size and the ".lst" postfix.Jbed-wvga.lst
AndroidAndroid does not use themes - Instead it scales the buttons dynamically. Note that qvga (i.E. Sony Ericsson Xperia™ X10 mini) is not supported on Android.
Desktop SystemsThe file names of the *.lst files are made up of the active screen size, a dash, the active locale, and the ".lst" postfix.qvga-en.lst

Format

The *.lst file has the following very strict format:

LineColumnDescription
1 Description oft the display images used. The description consists one text field and 6 numbers. Each number is exactly three digits separated by one space.
 1Image file qualifier. It is used to find the images needed to display the calculator and highlight pressed buttons.
 2Calculator display x position of first character
 3Calculator display y position of first character
 4Calculator display width of one normal character
 5Calculator display width of one exponent character
 6Calculator display y position of indicator row
 7Amount of background images available. Should be either 1 or 4.
2 .. 51 Description of the 50 calculator buttons. Each description consists of 7 numbers. Each number is exactly three digits separated by one space. The rest of the line after the last number is comment.
 1Calculator button x position
 2Calculator button y position
 3Calculator button width
 4Calculator button height
 5Calculator button type. Five button types are supported.
 6Calculator button scan code used by the calculators micro code. This number is octal.
 7Keyboard short cut. This is a JavaME key code - positive numbers are ASCII, negative numbers are special keys. You could use Informer or KeyEventDemo to find out the codes used by your device.

Image files

Supported Screen sizes.

If your screen size is not supported then use the next smaller one available. Note that destop systems must support 40 pixel larger desktop so enough space is available.

qualifierWidthHeight
qvga240320
nhc360640
wvga480800

Filenames

From the qualifier in line 1 five images are loaded:

FilenameDescription
qualifier/background-0.pngBackground image for normal operations.
qualifier/background-1.pngBackground image for inv operations.
qualifier/background-2.pngBackground image for alpha operations.
qualifier/background-3.pngBackground image for inv-alpha operations.
qualifier/highlight-0.pngHighlight image for button type 0 (usualy the top 2 rows).
qualifier/highlight-1.pngHighlight image for button type 1 (usualy the inv key).
qualifier/highlight-2.pngHighlight image for button type 2 (usualy the middle 3 rows).
qualifier/highlight-3.pngHighlight image for button type 3 (usualy the lower 4 rows).
qualifier/highlight-3.pngHighlight image for button type 4 (usualy the exe key).
qualifier/indicator-0.pngINV indicator
qualifier/indicator-1.pngHYP indicator
qualifier/indicator-2.pngK indicator
qualifier/indicator-3.pngHLT indicator
qualifier/indicator-4.pngRUN indicator
qualifier/indicator-5.pngWRT indicator
qualifier/indicator-6.pngPCL indicator
qualifier/indicator-7.pngDEG indicator
qualifier/indicator-8.pngRAD indicator
qualifier/indicator-9.pngGRA indicator
qualifier/indicator-10.pngALPHA indicator
qualifier/0.png .. qualifier/255.pngCharacter Image 0 to 255.

Demonstrations

German notbook keyboard

The following example shows the set-up for a German notebook keyboard without separate numeric keypad.

FilenameDescription
http://www.krischik.com/fx-602p/uploads/Simulator/qvga-de.lstqvga theme file
http://www.krischik.com/fx-602p/uploads/Simulator/wvga-de.lstwvga theme file
http://www.krischik.com/fx-602p/uploads/Simulator/Aenderungen.pdfdescription of changes in german