I had an issue with drawing a rectange to the canvas using drawRect:
I managed to get it working, the problem was that I hadn't initialised the rectangle object:
All I got was a force close on the emulator and no other information.
The way I figured this out was to comment out lines, and found the drawRect line was the problem. I then did some research and found that I had to initialise it. Is there a more efficient way to track a problem like this?