• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

custom menu icon

 
Greg Schwartz
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to get a customized icon to appear on my handsets
Java menu next to the application title before the application is launched.

I am using Sun's WTK 2.1. When I go to Project -> Settings, there seems to be two different places
where this can be set.
1) 'Optional' tab -> Midlet-Icon field
2) 'MIDlets' tab -> Icon field

I'm not sure what the difference between these two are but I've been trying
both of them. I have also tried several different paths as follows:
1) icon.png (i.e. with no slash)
2) /icon.png
3) /res/icon.png

I had the icon in the main application directory and in the /res directory but despite all of these different attempts, I have not
been able to get the icon to appear on my handset's Java menu. I'm testing
on a Motorola i830 and some of the other Java apps on this handset have
custom icons so I think it should be possible. If anyone has any thoughts as to where I might be going wrong, please let me know.

Thanks!
 
Pavel Kubal
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've tested application icon (res/icon.png) on several phones. 7650 shows it correctly, but motorola T720i and Motorola V300/V600 not.
 
Greg Schwartz
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pavel,

Do you have a "/" before your path to res/icon.png ? Also, if you're using Sun's WTK in which of the following Project-Settings tabs are you setting up this icon?

1) 'Optional' tab -> Midlet-Icon field
2) 'MIDlets' tab -> Icon field

Thanks for your help!
 
Pavel Kubal
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greg, I'm using WTK.
I set this Settings/Midlets/Icon...

to be sure I'm posting first line of my jad file

MIDlet-1: Kamasutra, Kamasutra.png, Kamasutra

As I said, maybe is problem in motorola phones, 'cause nokia series 60 had no problems.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic