You Are Here:

Community: Developer Discussion Boards

#1 Old Problem loading PNG - 2003-10-16, 19:55

Join Date: Oct 2003
Posts: 8
normdwyer
Offline
Registered User
Hey guys,

It's me again. I am having an extremely weird problem, and dont know where else to turn on this one. I am trying to load a png file in order to display a scrolling logo for our game (its a rather large logo, it scrolls across the screen before displaying the whole thing on one canvas). For debugging purposes I split up this logo into 3 separate png files (down from one 7k file to several smaller files). I am still not having any luck.

All of the other graphics within our try statement load and display properly. Upon compilation, our jar file is 26k. This is the only error the program gives us:


[Info] Nokia 7210 MIDP SDK v1.0: Exception during startup

The try statement in our image loader isnt catching any exceptions. The program compiles and runs fine when I comment out the loadimage statements for the png's in question.

EDIT:

forgot to mention one critical detail. this code runs fine in other phone emulators. the only emulator giving us trouble is the nokia 7210.
Last edited by normdwyer : 2003-10-16 at 19:58.
Reply With Quote

#2 Old 2003-10-16, 23:37

Join Date: Oct 2003
Posts: 8
normdwyer
Offline
Registered User
nevermind, we figured out a solution. Instead of loading the images all at once, we loaded them as they were needed in the program, and then destroyed them (myImage = null;) when we were done.
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