This week's book giveaway is in the Java in General forum.
We're giving away four copies of Java by Comparison (eBook) and have Simon Harrer, Jörg Lenhard, Linus Dietz on-line!
See this thread for details.
Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAD file probs  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My application runs perfectly fine on the emulator. But once I
package it and try to run it using the JAD file, there are several
things that are going wrong,the images are not appearing, buffer
values are not getting refreshed etc. When I stop this application,
I get a error file with NullPointerException.

None of these problems are seen in the emulator, any idea whats
going on here?

Thanks in advance
-S
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

did you check that your images files are in the jar file ?

On some device, the png files must be indexed to be properly displayed, if not it will appear in black even if it is displayed correctly on the emulator.
 
Anderson gave himself the promotion. So I gave myself this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!