porting to motorola kit

Hai,

i am working in game development. now i am doing porting to motorola. i hav one doubt on that. Can we make fullscreen mode on that? i hav used "setFullScreenMode(true);" method. but there is no effect. it shows only 176*182. pls help me. is there any way to make full screen size? i need 176*208. pls reply me soon.........

thanks.

by

Urs.

[384 byte] By [friendsforevera] at [2007-10-3 2:42:10]
# 1
is your phone is MIDP 2 ? on which object do you use the setFullScreenMode method?
suparenoa at 2007-7-14 19:40:55 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
hai, thanks for ur reply. yes my phone is midp2.0(motorola E398). i used setFullScreenMode() method on GameCanvas. I have extended GameCanvas class to my class. i think i hav cleared u. pls reply me.....thanks.byUrs
friendsforevera at 2007-7-14 19:40:55 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3

When you say its not going to full screen, do you mean that the softkey toolbar is still present along the bottom? If so, the getHeight() method for the screen graphics just needs to be overridden and + 10 to it or whatever. I forget the actual value. Motorola, in their infinite wisdom, decided to make the getHeight() method play nice with the softkey toolbar. Just ignore that value and override it.

RageMatrix36a at 2007-7-14 19:40:55 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
hai Ragematrix36,thanks. thank u so much. now it works correctly. really i am very happy. thanks a lot. hav a nice day!thanks.byUrs.
friendsforevera at 2007-7-14 19:40:55 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
You're welcome :)
RageMatrix36a at 2007-7-14 19:40:55 > top of Java-index,Java Mobility Forums,Java ME Technologies...