Can anyone tell me what is the use of phonestateintentreceiver.notifyPhoneCallState
?
Well... The first comment in the class says
DO NOT USE THIS CLASS: Use android.telephony.TelephonyManager and PhoneStateListener instead.
So maybe look into those other classes.
I know it is too late to post an answer here, may be helpful for guys who refer this in future.
notifyPhoneCallState has to be called if your application wishes to receive a notification about an incoming phone call.