Well the problem is that iam trying to make somthing happen that iam
not really understand (iam trying to learn)

So what i wanna do is to "grabb" the "return true" or the "return
false" so that i could create my if statement.

On 19 Maj, 21:09, "Jason Teagle" <teagle.ja...@gmail.com> wrote:
> >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

Reply via email to