How i can put an icon on home screen for midlets ?

Please help me, i'm developing an midlet by j2me language, now i want to put an icon on home screen of phone when installation finished, a jad attribute or what API can do that ? Thank you very much.
SocbayAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

keyurkarnikCommented:
You need to enter the following JAD attributes :

MIDlet-1: MyMidlet,/icon.PNG,com.abc.def.MyMidlet.class
MIDlet-Jar-URL: MyMidlet.jar
MIDlet-Icon: /icon.PNG
MicroEdition-Configuration: CLDC-1.0
MIDlet-Version: 1.0.0
MIDlet-Name: MyMidlet
MIDlet-Description: MyMidletApplication
MIDlet-Vendor: MyMidlet
MicroEdition-Profile: MIDP-2.0


The 2 BOLD attributes shown above are required.

Note the following :

The icon.PNG image should be a part of the resources (should be present in the jar at the root or / or the directly the jar, not inside any folder)

The .PNG needs to be in CAPS (upper case) in the JAD as well as in the actual file name of the pic.

The picture needs to be a PNG image, not JPEG or any other format
0
vin_babuCommented:
Thru Netbeans or j2me sdk IDE:
If you are using netbeans, then you can add these attributes like this: MidletProject->Properties->Application Descriptor->Attributes then Add the MIDlet-Icon attribute with the value as /imagename.PNG
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.