[TIP] Add icon to your MIDlet
By lukas on May 26, 2005
MIDlet suite icon
Use Midlet-Icon attribute in jad and jar's Manifest.mf You can do it easily in 'Project Properties > Application Descriptor > Attributes'. 'Add..' the attribute and specify the path to the icon in the jar - this path is the same as path to the icon in your project in most cases.
First add your icons, images to a directory in your project. Copy them in a File Manager (Windows Eplorer, MC, Total Commander etc.) to a directory under 'src'dir in your project's directory. Then you have 2 options how to add icon to a midlet
- you can specify an icon when you create a new midlet by New File wizard (File > New File > MIDP)
- open project properties ( File > YourProjectName Properties ) and select 'Application Descriptor > MIDlets', select the midlet in right pane and push 'Edit ...' button. Then you can select an icon form icons in the project.
When you will do all the steps above you can finish with a midlet suite looking like this one
You can download the project in zip file or upload the jar/jad to your phone - it is MIDP1.0, CLDC1.0