• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

custom menu icon

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic