You Are Here:

Community: Developer Discussion Boards

#1 Old Exclamation GameCanvas Bug? - 2004-12-09, 09:32

Join Date: Mar 2003
Posts: 8
Location: Stockholm
ArchAngel6
Offline
Registered User
I have had trouble running my 2.0 Midlet on actual devices (Nokia 6600 & SE p900). No problem on the emulator as usual.
When I start the application it immediately quits without any warning. Same behavior on both phone models. So I started to comment out row after row until I finally caught what was producing the problem.

I am using a GameCanvas class and in that class I had quickly written (this is just a prototype) a method with the footprint like this:
PHP Code:
public void update() {
  
//Some code having to do with screen update

As soon as I renamed the method the problem disappeared.

(It was a silly name for the method from the beginning and it did not need to be public, but at least I learned something I can share ;) )

Good luck out there!
Reply With Quote

#2 Old GameCanvas.update() => crash midlet on nokia6630 - 2005-02-09, 15:49

Join Date: Feb 2004
Posts: 23
Location: france/rennes
Send a message via ICQ to www.rzr.online.fr Send a message via AIM to www.rzr.online.fr Send a message via Yahoo to www.rzr.online.fr
www.rzr.online.fr's Avatar
www.rzr.online.fr
Offline
Nokia6630 17-10-17=FirmW
Do you know where to find additionnal info on Nokia/symbian KVM ?

Yea I confirm this also on 6630 :
http://discussion.forum.nokia.com/fo...threadid=53764


import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.lcdui.game.*;
/**
* Test class
* nokia 6630 will quit midlet if update is defined in GameCanvas class ? (renamed myupdate it works)
* http://discussion.forum.nokia.com/fo...653#post134653
* Crash on Nokia6630 Firmware V 2.39.124 17-10-04 RM-1 (cheat code is : *#0000# )
*/
public class TestGameCanvasMIDlet extends MIDlet {
TestGameCanvas canvas_ = new TestGameCanvas(true);
public void startApp() {
try {
Display.getDisplay(this).setCurrent(canvas_);
canvas_.start();
} catch (Exception e) { e.printStackTrace(); }
// notifyDestroyed();
}
public void pauseApp() {}
public void destroyApp(boolean unconditional) {}

class TestGameCanvas extends GameCanvas {
TestGameCanvas(boolean suppress) { super(suppress); }
public void start() { setTitle("} start"); }
public void updateWorks() { setTitle("} updateWorks"); } // will work
public void update() { setTitle("} update"); } // BUG HERE nokia 6630
}
}
Reply With Quote

#3 Old Re: GameCanvas Bug? - 2005-12-05, 10:51

Join Date: May 2005
Posts: 12
Send a message via Yahoo to calzada
calzada
Offline
Registered User
I confirm the same issue on the 6680

Franck Calzada
Mobile Entertainment Studio
http://www.me-studio.com


Franck Calzada
Mobile Entertainment Studio
http://www.me-studio.com
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ