0

Hello can anyone explain the use of PhoneSateIntentReceiver.NotifyPhoneCallState in android and when this can be used...??

It would be great if you can give some example also.

thanks a lot.

Dinesh Sharma
  • 11,533
  • 7
  • 42
  • 60
  • Here is SO discussion on this http://stackoverflow.com/questions/6825794/what-is-phonestateintentreceiver-notifyphonecallstate-used-for – kosa Jan 08 '12 at 05:38
  • But there is no satisfactory answer there – Dinesh Sharma Jan 08 '12 at 05:39
  • First of, it seems it is depricated. Are you trying to use this or just for learning purpose? As far as I understand from the other link, it seems when you there is incoming call on this phone, this intent will be triggered. – kosa Jan 08 '12 at 05:51
  • yes this for just learning purpose ..... I confused in two ways : !) whether it triggers for incoming phone calls or when some call state changes... which will be more proper ....whats your view....???? – Dinesh Sharma Jan 08 '12 at 09:28
  • There is no such class as `PhoneSateIntentReceiver`, let alone an inner class of it named `NotifyPhoneCallState`. – CommonsWare Jan 08 '12 at 13:12

2 Answers2

0

for incoming phone calls . But don't use it ,just use android.telephony.TelephonyManager and PhoneStateListener instead.

Yuvraj Kakkar
  • 1,123
  • 1
  • 11
  • 24
0

However , PhoneSateIntentReceiver.NotifyPhoneCallState is deprecated but earlier it was used to get notify for incoming phone calls .

Dinesh Sharma
  • 11,533
  • 7
  • 42
  • 60