Hi all,
I use JBuilder 2005, NDS 3.0 and Nokia 6230i emulator. I wrote an application which uses PNG files.
Is it possible to use the PNG files in the application using CreateImage and show them in the emulator when I donot first package the whole application into a JAR, but run from the class file directly ? In which directory should I put the PNG files ?
I have:
\PhotoVote\src\com\PhoteVote\<>.java
\PhotoVote\res\<>.png
If I copy the PNG files into the source code dir, JBuilder will copy them to the class directory, but the emulator will show 'java/lang/ClassFormatError: Class file size does not match.' Why ?
If I have the PNG files in the res directory, CreateImage("\file.png") does not find it.
How should I resolve this ?
Kind regards,
Rene Heuven
E-mail: rene@pcamobile.com

Reply With Quote

