Can anyone tell me what is the use of phonestateintentreceiver.notifyPhoneCallState?
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.