logo       

Re: Image Problem: msg#00310

java.sun.kvm

Subject: Re: Image Problem

The Nokia SDKs and the phones themselves are case sensitive when it comes to filenames. MSPaint usually saves files with an extension in capital letters (ie: Splash.PNG), so you either rename the file to be exactly like what you are trying to open or change the name in the code to match the filename exactly.
 
shmoove
-----Original Message-----
From: mkadayifci@xxxxxxxxxxxxxx [mailto:mkadayifci@xxxxxxxxxxxxxx]
Sent: Monday, December 29, 2003 5:28 PM
To: KVM-INTEREST@xxxxxxxxxxxx
Subject: Image Problem

Hi,
 
i have a problem with PNG images in J2ME. I draw a picture in MS Paint and save as PNG. My application use it like:
 
Image i= new Image.CreateImage("/Splash.png")
 
It runs on J2ME Wireless Toolkit emulators fine. but it doesn't run on Nokia Developer Suite emulators. (i try it on 7250,3510i,7600 and Series60 emulators). Applicatin throwed IOException.
 
I tried it with another image file(with images of NDS examples and WTK examples). It runs fine wit these images.
 
Only image which i created, throws IOException in NDS emulators. What is the problem
 
 
 
Thanks!
 
 
NDS=Nokia Developer's Suite
WTK= Sun J2ME Wireless Toolkit
 
Mehmet KADAYIFÇI
____________________________________________________
  IncrediMail - Email has finally evolved - Click Here
=========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help".
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise