anddev
anddev

Reputation: 3204

What is phonestateintentreceiver.notifyPhoneCallState used for?

Can anyone tell me what is the use of phonestateintentreceiver.notifyPhoneCallState?

Upvotes: 8

Views: 4818

Answers (2)

manDroid
manDroid

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

Jon7
Jon7

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

Related Questions