Reputation: 3204
Can anyone tell me what is the use of phonestateintentreceiver.notifyPhoneCallState
?
Upvotes: 8
Views: 4818
Reputation: 1135
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.
Upvotes: 4
Reputation: 7215
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.
Upvotes: 0