While developing my Android apps I routinely, regularly, almost every time, without a miss, get some kind of exception. And the error you see on screen is not developer friendly, though it is very end-user friendly:
WTF? Why? What did I do wrong this time, again?
You can find the answer very easily:
1. Open a command prompt window.
2. Go to the SDK_directory\tools\
3. Run “abd logcat”
This will show you all logs that the Android system produces as you click around. Some of the logs will be related to the Exceptions getting thrown because of your app.
Null Pointer! But… you still need to decipher where this Null Pointer is from.

July 5, 2010 at 16:47
Thank you!