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.

Most Viewed Articles (in J2ME )

Latest Articles (in J2ME)

Comment on this tutorial

Subscribe to Tutorials

Related Tutorials

Archived Comments

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

2. Hi..
How can i read .mp3 files from memory

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

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

4. How do I insert an image in a list? I am using Vis
View Tutorial          By: anu at 2010-04-16 03:07:00

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

6. this site is so good...... How can we create a mp4
View Tutorial          By: vikram raj at 2011-01-05 01:03:07

7. I'm having trouble figuring out how to sign my mid
View Tutorial          By: Patrick Somers at 2011-04-04 14:54:45

8. This post is about adding an application icon to a
View Tutorial          By: Rick at 2011-11-04 16:48:16

9. you can see this page: http://devlinslab.blogspot.
View Tutorial          By: luis at 2011-11-08 06:46:23

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

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

12. Well I don't know if anybody knows it or not but N
View Tutorial          By: rahul.del at 2012-08-16 10:05:25

13. I want to change software of micromax x455 mobile
View Tutorial          By: Sachin at 2012-12-29 09:39:58

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

15. how do you delete a specific line of text from a t
View Tutorial          By: solomon at 2016-04-14 10:50:22

16. How to insert swings and awt api inserting to the
View Tutorial          By: MOHANKUMAR TS at 2017-07-28 20:52:20