Welcome to Hitonic


Hitonic Team Homepage | Hitonic MIDlet Protector Homepage

Hitonic MIDlet Protector Tutorial

This is a step-by-step instruction how to limit launching the MIDlet. Suppose you have a simple MIDlet (like below).

Starting MIDlet Go Working MIDlet

And you want the MIDlet to be run only 2 times.


Step 1 - Run Hitonic MIDlet Protector

After you start the program, you will see the main window.
 
Main Window


Step 2 - Select the MIDlet JAR file location

Enter the path to the MIDlet JAR file in the "JAR File" field. You can also use the Button button to select the path to the file. The file path is "C:\work\SimpleMIDlet.jar" in this tutorial.
 
Main Window


Step 3 - Select the protected MIDlet output folder

Enter the path to the folder the new MIDlet JAR file will be saved to. You can also use the Button button to select the path to the file. The folder path is "C:\work\output" in this tutorial.
 
Main Window


Step 4 - Select the type of protection

Click the Button button in main window and select the protection type. The protection type is "Launch count limitation".
 
Select Protection Type
 
Click the OK button to return to the main window.
 
Main Window


Step 5 - Modify protection options

Click the Button button in main window. After that you will see the options dialog box.
 
Options Dialog
 
Modify the options. Specify text for the startup screen ("This is a sample MIDlet. It can be run only 2 times."). Specify the delay type ("Progress bar"). Specify the delay time (10 sec.). Specify the number of launches (2).
 
Options Dialog
 
Click the OK button to return to the main window.
 
Main Window


Step 6 - Protect the MIDlet

Click the Button button in the main window.
 
Message
 
The modified MIDlet has been saved. The new JAR file name is "C:\work\protected\SimpleMIDlet.jar" in this tutorial.


Step 7 - Test the new MIDlet

Launch the new MIDlet in order to test it.

The first launch.

Starting MIDlet Go Starting MIDlet Go Working MIDlet

The second launch.

Starting MIDlet Go Starting MIDlet Go Working MIDlet

The third launch.

Starting MIDlet Go Locked MIDlet

That's exactly what it is supposed to be.