By: Emiley J. Emailed: 1746 times Printed: 2432 times
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.
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
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:
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.
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.
View Tutorial By: satyanarayana at 2010-03-29 11:14:27
View Tutorial By: Sudip Khatiwara at 2010-04-05 22:31:06
View Tutorial By: anu at 2010-04-16 03:07:00
View Tutorial By: ketut joko wibawa at 2011-01-02 05:18:01
View Tutorial By: vikram raj at 2011-01-05 01:03:07
View Tutorial By: Patrick Somers at 2011-04-04 14:54:45
View Tutorial By: Rick at 2011-11-04 16:48:16
View Tutorial By: luis at 2011-11-08 06:46:23
View Tutorial By: Ajmalnafi at 2012-06-30 01:48:04
View Tutorial By: Sachin at 2012-12-29 09:39:58
Most Viewed Articles (in J2ME )
Most Emailed Articles (in J2ME)