8

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

naXa stands with Ukraine
  • 35,493
  • 19
  • 190
  • 259
anddev
  • 3,144
  • 12
  • 39
  • 70

2 Answers2

4

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.

manDroid
  • 1,125
  • 3
  • 13
  • 25
0

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.

Jon7
  • 7,165
  • 2
  • 33
  • 39
  • 1
    Thanks Jon7 for your answer but actually I want to just know the use of this particular class. I'll keep in mind your advice. Thanks – anddev Jul 26 '11 at 06:12