>And that will throw me a NullPointerException. >I guess that its something simple, but maybe somebody could point me >in the right direction here?
This is the variable you have declared as the parameter: protected static boolean isProInstalled(Context __context__) { This is what you then try to do with it: PackageManager manager = __context__.getPackageManager(); if (manager.checkSignatures(__context__.getPackageName(), This is the value you are passing for that parameter: if (isProInstalled(__null__) { What did you *expect* to happen if you try to call a method on a variable that now contains null? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en