Before deployment to a mobile phone the midlet must gain access to security- sensible operations on the phone (such as sending SMS, opening TCP and COM port connections). To know more about midlet signing please refer to a good brief article about it: http://blog.javia.org/midlet-signing. This process usually involves significant financial expences but fortunately there is a way to sign midlets for Siemens CX65/70 for free.
The tool for signing is called Smelter and it can
be downloaded from here:
http://avkiev.kiev.ua/Siemens/Smelter/Smelter.rar. It does not required
installation and usually works immediatelly after extraction from the archive.
In case if the toll fails to start complaining about abscence of some
libraries then download OCX Control tool which is
http://avkiev.kiev.ua/Siemens/Soft/OcxCtrl.rar. By its means register
all required libraries and run Smelter again.
First of all, a new certificat must be created. The sequence is described below:
Set real date/time in both mobile and computer;
Config\Policy\manufacturer.sbp file from the mobile to
Choose Tools -> Midlet Signer -> Create certificate menu;
Enter name of your certificate (for example - your name);
Enter path to the file
has been already downloaded from the mobile;
der-file to the mobile to
manufacturer.sbp to the mobile to
\Config\Policy folder (replace existing).
Then, the midlet itself must be signed. The whole sequence is given below:
Set the following permissions for the midlet by means of checking items
in Tools -> Midlet Signer:
FILE_WRITE, FILE_WRITE_X65, INTERNET, SMS, COMM, PUSHREGISTRY, MEDIA, MEDIA_X65
Choose Tools -> Midlet Signer -> Certificate menu, then choose the certificate that has just been created;
Choose Tools -> Midlet Signer -> Sign midlet menu,
PUploaderCom.jad will be appended with
MIDlet-Certificate-1-1, MIDlet-Jar-RSA-SHA1, MIDlet-Permissions
properties. Upload both
files to the mobile and install them in a subfolder in
directory. The subfolder must be named in a way so that it is displayed first in
Java application list (DefendLine or
Guarding fits in most cases).