J2ME各机型图标尺度
J2ME 添加自定义图标
与图标有关的是这两行:
MIDlet-Icon: ***.png
MIDlet-1: GameName, ***.png, classmain
***.png 就是图标文件的名称,比如 icon.png, /icon.png, /image/icon.p
ng 等等;其中¡/¡ 表示路径,比如/icon.png 表示图标是根目录下的 icon.png 文件,
/image /icon.png 表示图标是/image/目录下的 icon.png 文件,等等。没有¡/¡
表示文件放在根目录下。
图标的名称也可以随便修改,但是上述这两行的文件名称一定要一致,另外建议最好不
要用中文名称。
添加图标 可能有的 MF 文件中没有 MIDlet-Icon: ***.png 这行。没关系,这表明
软件(游戏)没有定义图标,你可以定义一个图标名称,并把这一行添加到文件中,然后根
据你定义的位置将你要添加的图标拖如到 jar 包里面
Icon 尺寸:
The best J2ME MIDlet icon size settings
Posted by mypapit on 09/10/07 in J2ME / JavaME, Java , Mobile S
oftware, Tips, Tricks, Guide, newbie
Although not required, It is nice to include icon in your MIDlet dist
ribution as it give a unique feeling to your mobile application. The
only problem is different device seems to have different icon sizes
requirements for tJ2ME MIDlet.
The Ideal Icon size guidelines for different mobile device
Here is the icon size guideline for different devices
Nokia
Series 40
128x160=24x24, 208x208=46x46, 240x320=46x48
S60 1st and 2nd
176x208=42x29, 352x416=76x76
S60 3rd
176x208=31x31, 208x176=37x37, 352x416=76x76, 240x320=53x
53/55x55, 320x240=52x52/54x54, 208x208=37x37
N90/N95 : 84x58
Samsung & Sony Ericsson
Most Samsung phone accept 16x16, 32x32 icon size
Motorola
15x15, 16x16, 32x32
Most phone seems to accept 8bit-depth color for MIDlet icons, exce
pt Nokia S60 3rd edition which seems display 24bit icon quite well.
Note that most of this figure are based on experiments and observ
ation on different phone models.
Mon 9 Mar 2009
BlackBerry screen and icon sizes
Posted by carson under meta
For some reason the old link I had that contained display dimensio
ns for BlackBerry devices is resulting in a 404 now. When you are
doing BlackBerry development it is nice to be able to go to one pa
ge that just shows you the screen sizes instead of having to look a
t each device page so I don't know why they removed this page. A
fter looking around a little I couldn't find a consolidated list that h
as just screen sizes so I figured I would put one together that repl
icates the old link:
BlackBerry device model Display screen size Icon image size
BlackBerry Pearl 8100 240 x 260 pixels 60 x 55 pixels Icon theme
48 x 36 pixels Zen theme
BlackBerry 7100 Series 240 x 260 pixels 60 x 55 pixels Icon them
e
48 x 36 pixels Zen theme
BlackBerry Pearl 8220 240 x 320 pixels 46 x 46 pixels
BlackBerry Curve 8300 320 x 240 pixels 53 x 48 pixels Icon theme
48 x 36 pixels Zen theme
BlackBerry Curve 8900 480 x 360 pixels Unknown
BlackBerry 8800 Series 320 x 240 pixels 53 x 48 pixels Icon them
e
48 x 36 pixels Zen theme
BlackBerry 8700 Series 320 x 240 pixels 53 x 48 pixels Icon them
e
48 x 36 pixels Zen theme
BlackBerry Bold 9000 480 x 320 pixels 80 x 80 pixels
BlackBerry Storm 9500 360 x 480 pixels 76 x 76 pixels Home scre
en
24 x 24 pixels Shortcut bar