|
Replies:
1
-
Last Post:
Dec 8, 2006 2:45 AM
by: terrencebarr
|
|
|
|
|
|
|
Nokia S60 3rd edition - hidden method badness
Posted:
Dec 6, 2006 8:46 AM
|
|
|
Hi y'all,
It appears that there are some (at least one) undocumented methods in the midp implementation on Nokia series 60 3rd edition devices for certain classes.
If you accidentally override this method in a derived class, your app will fail to run, as the derived class will through an exception when the class loaded tries to load it.
e.g.
class AppCanvas extends Canvas{
protected void paint(Graphics g){ //...do some painting }
public synchronized void update(){ //do nothing }
}
Trying to instantiate this class will fail on 3rd edition devices (at least on my N91 and N70) - but works on the emulator just fine.
cheers Dan Ack
=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".
|
|
|
|
|
|
|
Re: Nokia S60 3rd edition - hidden method badness
Posted:
Dec 8, 2006 2:45 AM
in response to: Dan Ackroyd
|
|
|
Dan,
Thanks for posting this. Would you mind re-posting on the phoneME feature forum as because that is where the MIDP experts will be.
Cheers,
-- Terrence
Terrence Barr Evangelist, Java Mobile & Embedded Community Sun Microsystems, Germany www.mobileandembedded.org
|
|
|
|
|