I finally got my jar file downloaded to a phone, but I got an error saying getWidth(); invalid method call. This call is in the paint method of a Canvas, the method is called on the Graphics object in the paint method. Can anyone think of why I got this error? Could the Obfuscator on Sun's wireless toolkit have messed the code up such that it won't run? Thanks for any ideas Mark
I do not think the compile target is the problem: I always compiled to 1.2 (the default of the JDK v1.4 javac) unless the preverify complains, in which case I change the compile target to v1.1. That particular error with getWidth() only happens when the following are true: 1. The application is deployed on Nokia devices or emulators. 2. The application is obfuscated. I asked several people inside Nokia and could not get a satisfactory answer.