Skip to content


Tuning your phone’s calculator

I use calculators a lot, but I don’t always have one with me. Yet my phone is always in my pocket. I should use it, but the calculator on Sony Ericsson phones is rubbish, we all know that. But this problem can be fixed!

The first thing we need is the replacement, a new calculator, which is a java application:
JvoCalc.
We also need the original menu.ml file of the phone, you can get it following this tutorial, or using JDFlasher, also you can download it from the internet, or extract the FS (tpa/preset/system/menu). Menu.ml file is not the same on different phone types, so you must get it yourself.
You need XS++ (FSX), or Far Manager / JDFlasher to upload the new menu.ml file we are going to make.
Optionally, you should obtain a good text editor, with syntax-highlighting (xml), try this: Notepad++.

1. Upload the calculator to the phone and install it, as you install any other java application (File transer mode or MyPhoneExplorer).

2. Open your menu.ml file in the text editor of your choice. From now on, I’m going to use Notepad++.
Click the Language menu, and select XML.
first screenshot of notepad++

Now search for calc (with Ctrl+F), and you will find the following text:

<element id=“Application_Calculator_Id”>
<label type=“name” textid=“MENU_CALCULATOR_TXT” />
<label type=“helptext” textid=“MENU_CALCULATOR_HLP” />
<icon pos=“left” source=“internal”>CALC_CALCULATOR_MENU_ICN</icon>
<link type=“internal” />
</element>

The line we are about to modify is: <link type=“internal” />, replace it with
<link type=“java” javasuitename=“JvoCalc” javasuitevendor=“Jvojava” javasuitepoint=“JvoCalc”/>

Now it looks like this:

<element id=“Application_Calculator_Id”>
<label type=“name” textid=“MENU_CALCULATOR_TXT” />
<label type=“helptext” textid=“MENU_CALCULATOR_HLP” />

<icon pos=“left” source=“internal”>CALC_CALCULATOR_MENU_ICN</icon>
<link type=“java” javasuitename=“JvoCalc” javasuitevendor=“Jvojava” javasuitepoint=“JvoCalc”/>
</element>

Save the file and upload it to tpa/preset/system/menu folder (as menu.ml) or read on.

Optional, yet useful!
You can also customize how the phone calls the menu item for Calculator, for example, call it “Professional Calculator”.

You have to modiy <label type=“name” textid=“MENU_CALCULATOR_TXT” />, to have
<label type=“name”><text>Professional Calculator</text></label>.

So it will look like:

<element id=“Application_Calculator_Id”>
<label type=“name”><text>Professional Calculator</text></label>
<label type=“helptext” textid=“MENU_CALCULATOR_HLP” />

<icon pos=“left” source=“internal”>CALC_CALCULATOR_MENU_ICN</icon>
<link type=“java” javasuitename=“JvoCalc” javasuitevendor=“Jvojava” javasuitepoint=“JvoCalc”/>
</element>

You can do the same trick on helptext if you want to, that is the text that you see when you press the right soft key in the menu.

Save this file and upload it to the given place.


Note: When you are renaming in <text> tags, you cannot use Central European Characters, if you want to use them, you must use HTML character codes, but only with numbers so the aacute will only work if given with its ASCII code, not the aacute word itself.

JvoCalc inserts an operator when you press * and a dot when you hit #. When you press the right soft key, you can insert e, pi, squre root, sin, cos and many others.

That’s it, now you have a far better calculator on your phone.

original calculator to jvocalc screenshot and modded menu

Regards,
Peti

Posted in Pimping.