OwnMIDlet.com - Make Your Own MIDlet for FREE!

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 type of limitation

Select the "Select limitation..." menu item in the "Edit" menu or click the top button Select Limitation in the limitation box on the runtime diagram. After that you will see the limitation dialog box. Select the limitation type ("Launch count"). Specify the number of launches (2).

Limitation Types

Click the OK button to return to the main window.


Step 3 - Modify limitation screen options

Select the "Limitation screen..." menu item in the "Edit" menu or click the screen preview in the limitation box on the runtime diagram. After that you will see the limitation screen dialog box. Enter the title ("Simple MIDlet"). Enter the text ("It can be run only 2 times"). Check the "Time progress bar" option. Select the delay (10).

Limitation Screen

Click the OK button to return to the main window.


Step4 - Select the type of activation

Select the "Select limitation..." menu item in the "Edit" menu or click the top button Select Activation in the activation box on the runtime diagram. After that you will see the activation dialog box. Select the activation type ("None").

Activation Types

Click the OK button to return to the main window.


Step 5 - Modify activation screen options

Select the "Activation screen..." menu item in the "Edit" menu or click the screen preview in the activation box on the runtime diagram. After that you will see the activation screen dialog box. Enter the title ("Simple MIDlet"). Enter the text ("Launch is locked").

Activation Screen

Click the OK button to return to the main window.


Step 6 - Select the MIDlet JAR file location

Select the "MIDlet File Paths" tab in main window. Select the "Select JAR File" menu item in the "Edit" menu or click the Select Button button near the "JAR file" filed to select the path to the file. The file path is "C:\work\SimpleMIDlet.jar" in this tutorial.

Select the JAR File Location


Step 7 - Select the protected MIDlet output folder

Select the "Select Output Folder" menu item in the "Edit" menu or click the Select Button button near the "Output Folder" field to select the output folder path. The folder path is "C:\work\protected" in this tutorial.

Select the Output Folder


Step 8 - Save the project

Click the Save Project button on the main window toolbar and enter the project file name.


Step 9 - Protect the MIDlet

Select the "Protect" menu item in the "Protection" menu or click the Protect button on the main window toolbar.

Protect the MIDlet

The modified MIDlet has been saved. The new JAR file name is "C:\work\protected\SimpleMIDlet.jar" and the new JAD file name is "C:\work\protcted\SimpleMIDlet.jad" in this tutorial.


Step 10 - 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.