07-29-2012 04:33 PM
For a sample workspace that applies a background image to a screen, download the backgroundImage.zip file from this post:
But I get the error: java.lang.NullPointerException
The simulator is 9550 with OS v5.0.0.535
What is missing or wrong to place a background image? Thanks
07-29-2012 05:40 PM - edited 07-29-2012 05:57 PM
Which line throws that error?
Just tested, code appears to work to me!
07-29-2012 07:25 PM - edited 07-29-2012 07:50 PM
Sorry, you are my first steps with java for blackberry. Dialog box appears with the message mentioned and ok. How do I debug to find the line of the problem?
You may not find the image files? They are located in the folder res. In case you are looking where is the java file, also copied to src / mypackage getting the same error.
07-29-2012 08:26 PM
Are you using Eclipse or JDE.
07-29-2012 08:41 PM
Eclipse! Thanks
07-30-2012 04:53 AM