Caused by: java.lang.NullPointerException 05-11 09:41:23.559:
at com.example.mysteryofcontrasts.MysteryOfContrasts.onCreate(MysteryOfContrasts.java:223)
Look at line 223 of #onCreate. Something is null when it shouldn't be. I'm willing to bet it is
layout.addView(adview);
because it doesn't look like you have called setContentView(resouceIdOfYourActivity); beforehand.