• 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

Help! Nokia FullCanvas and Obfuscator

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic