Java.lang.nullpointerexception Showing At Mboundservice.setalarm(c);
I want to remind the user when he selected some date. I found an example for a remainder here but I got a NullPointerException. package com.example.eventremainder; import java.uti
Solution 1:
Looks like the service was not bound successfully. The connection doesn't return immediately, but since you call this in an event handler this is most likely not the issue. Did you register the service correctly? Try to put some debug statements/breakpoints in the onServiceConnected() method to verify it is actually called/when it is called.
Solution 2:
I was also facing same problem.. I had called it in onCreate method for some reason..but when I called it from other events then its works fine.. I know, I am late but this can be a solution that can help others
Post a Comment for "Java.lang.nullpointerexception Showing At Mboundservice.setalarm(c);"