Adding your own Application icon for your J2ME application (jar file)

By: Emiley J.  

Normally it is the default icon which is seen as soon as the installation of a jar file is complete.. if you  want to see your own icon for launching the application after installing the jar file then here is how you can do this.

To achieve this manually just add following entry into your JAD/Manifest files:
MIDlet-1: <App Name>,<AppIcon>,<MidletClass> where AppIcon is the name of icon image file along with path in the JAR file where it resides in the Jar ex: /app/appicon.png 

or else 

You can add the MIDlet-Icon attribute that contains the absolute path of the icon file for the MIDlet suite, relative to the JAR file itself.

If you are using an IDE, then follow the steps below:

  1. For the Netbeans IDE

    Just go to the project properties,
    then go to the application descriptor.
    and now click the midlet tab then you will find the icon option,correct.
    Then click on this icon drop down and provide the name of the icon.
    Thats all.
  2. For the eclipse + mtj 

    #Open the eclipse
    #Find your project
    #Find the Application descriptor
    #Now give double click with mouse left bottom in this
    #Find the label "optional" choose it, in the MIDlet icon box put the your icon path...e.g. C:\...
    #save your changes.

Archived Comments

1. How to insert swings and awt api inserting to the javaME application, and let me know its package li
View Tutorial          By: MOHANKUMAR TS at 2017-07-28 20:52:20

2. how do you delete a specific line of text from a textfile in a midlet. The text file is used as the
View Tutorial          By: solomon at 2016-04-14 10:50:22

3. Goodone...
View Tutorial          By: Sachin at 2013-01-02 07:29:55

4. I want to change software of micromax x455 mobile handset? Is there any option please let know
View Tutorial          By: Sachin at 2012-12-29 09:39:58

5. Well I don't know if anybody knows it or not but Nokia has announced that they have partnered with V
View Tutorial          By: rahul.del at 2012-08-16 10:05:25

6. Wow
View Tutorial          By: Ajmalnafi at 2012-06-30 01:48:04

7. all wapsite
View Tutorial          By: ganesh at 2012-05-13 11:51:37

8. you can see this page:
View Tutorial          By: luis at 2011-11-08 06:46:23

9. This post is about adding an application icon to a jar file in J2ME applications. I need to know how
View Tutorial          By: Rick at 2011-11-04 16:48:16

10. I'm having trouble figuring out how to sign my midlet using Netbeans. Can you provide steps for how
View Tutorial          By: Patrick Somers at 2011-04-04 14:54:45

11. this site is so good...... How can we create a mp4 video player?
please give idea and code..

View Tutorial          By: vikram raj at 2011-01-05 01:03:07

12. thanks, i will try. but can u tell me how to send automatically sms to phone number?
View Tutorial          By: ketut joko wibawa at 2011-01-02 05:18:01

13. How do I insert an image in a list? I am using Visual Midlet. thxx.urgent.
View Tutorial          By: anu at 2010-04-16 03:07:00

14. good......
View Tutorial          By: Sudip Khatiwara at 2010-04-05 22:31:06

15. Hi..
How can i read .mp3 files from memory card through j2me application

View Tutorial          By: satyanarayana at 2010-03-29 11:14:27

16. read
View Tutorial          By: neeraj sharma at 2010-03-22 04:07:05

Most Viewed Articles (in J2ME )

Latest Articles (in J2ME)

Comment on this tutorial