Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Spread the knowledge... in a fun way!  (Read 2051 times)
0 Members and 1 Guest are viewing this topic.
Offline Anon666

Junior Duke




aka Abuse/AbU5e/TehJumpingJawa


« Posted 2006-07-28 22:03:53 »

Conventional compatability testing will give you a list of buggy methods for a particular device.

Now with the awful quality of J2ME API implementations, I have begun to think this is the wrong way around.
It would be easier to list the API methods, and against it list the handsets on which the method is faulty.

For a little fun (and also a little education!), I propose we begin a Thread to achieve this.
One person will state an api method (fully qualified!) ,
and others *race* to respond with a device on which said method behaves incorrectly. (and how it behaves incorrectly)
The first to respond gets to select the next method! =)

So, what do you all think? =)

If someone is willing to select a method to kick us off?

For the sake of fair-play; lets keep the API set to just the major ones, say :-

midp1, cldc1, midp2, cldc1.1, jsr135, jsr184, samsung, nokia, motorola, siemens, benq(o2x2/midp2 hybrid), sprint, vodafone, jphone, mascot, (any important API's i've forgotten?)
Offline aNt

Senior Duke




AFK


« Reply #1 - Posted 2006-10-05 11:47:15 »


displayable.setFullScreenMode(true);
Offline RageMatrix

Senior Newbie




Java games rock!


« Reply #2 - Posted 2006-10-05 12:05:59 »


displayable.setFullScreenMode(true);

Device: Motorola V525 (May affect other Motorola handsets).
Problem: Only paints in area not used by softbuttons, even if no softbuttons are used, so you get a white non-repainted area along the bottom of the screen.
Solution: Override displayable.getHeight() and +10 to the result of the normal method. This should then give you proper fullscreen.

Sorry, I can't think of anything else to choose offhand. Someone else can choose another method.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online Abuse

JGO Knight


Medals: 13


falling into the abyss of reality


« Reply #3 - Posted 2006-10-05 19:16:37 »


displayable.setFullScreenMode(true);

Device: Motorola V525 (May affect other Motorola handsets).
Problem: Only paints in area not used by softbuttons, even if no softbuttons are used, so you get a white non-repainted area along the bottom of the screen.
Solution: Override displayable.getHeight() and +10 to the result of the normal method. This should then give you proper fullscreen.

Sorry, I can't think of anything else to choose offhand. Someone else can choose another method.

Surely that is a problem with getHeight() not accounting for the screensize change Wink
Incidentally, the more durable way of handling this issue on the Motorolas, is to listen for the sizeChanged(...) callback method. (as not all motorolas have a softkey bar height of 10 pixels)
It receives the correct canvas dimensions in its parameters.

Going back to the original method :-


displayable.setFullScreenMode(true);

Device: LGC2200
Problem: throws a NullPointerException if called within the Canvas constructor.
Solution: call it after the Canvas has been constructed & made the current displayable.


Next method :-

javax.microedition.lcdui.Graphics.drawRect(int, int, int, int)

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (49 views)
2014-10-17 03:59:02

Norakomi (38 views)
2014-10-16 15:22:06

Norakomi (31 views)
2014-10-16 15:20:20

lcass (34 views)
2014-10-15 16:18:58

TehJavaDev (65 views)
2014-10-14 00:39:48

TehJavaDev (65 views)
2014-10-14 00:35:47

TehJavaDev (55 views)
2014-10-14 00:32:37

BurntPizza (72 views)
2014-10-11 23:24:42

BurntPizza (43 views)
2014-10-11 23:10:45

BurntPizza (84 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!