• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help! Nokia FullCanvas and Obfuscator

 
Seb Thompson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I've knocked up a nice J2ME app running on Nokia series 30 and 40 phones. It all works smoothly when built normally from the WTK.

Problem is, when I run it through Proguard using the WTK I get no errors but its as if I'm *not* using the FullCanvas class, and my screen size is chopped at the bottom, plus my splash screen is shorter etc. basically as if I'm using an ordinary canvas.

I'm at my wits' end, tried everything, please help!!

Seb
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Seb T."-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same issue, I am pretty sure there is a way, Let me do some loking at my books and searching this forum, then we both can get the answer.

Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also beleive that the bottom part is for those Command objects to display.

Mark
 
Seb Thompson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any help greatly appreciated... this little problem is doing my nut!

Thanks guys..

Mark.. are you using Polish or the WTK?

Seb
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Seb Thompson:
Any help greatly appreciated... this little problem is doing my nut!

Thanks guys..

Mark.. are you using Polish or the WTK?

Seb


Right now I am using WTK, but I am planning to use J2ME polish after I am finished to clean things up and make it look cool.

Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well the Canvas class has a setFullScreenMode(boolean mode) method. so I guess you pass it true to set it to full screen.

Now I think some phones don't implement this method, so it might not work. And not on all phones. Like the Sony T610 does not, but I think this is because this method was added in MIDP 2.0 and the Sony is not 2.0 compatible.

Find your phone in this list. And it will tell you if it is 2.0 compartible or not, although sometimes this page could be wrong.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic