2

I want to make an onCall event, I allready know that theres no such method but basicly what i want to do:

when an incoming call is recived, Popup Toast (or anything else)

any kind of tutorials or example code would help.

thanks alot.

Daerik Fisher
  • 293
  • 3
  • 11
  • 20

2 Answers2

6

Use PhoneStateListener which has overrided method onCallStateChanged You can use 3 states over there

Example link

Abhi
  • 8,814
  • 7
  • 35
  • 60
3

For that you need to use PhoneStateListener

see this Question you will get idea how to use.

Also try this demo

Community
  • 1
  • 1
MAC
  • 15,659
  • 8
  • 53
  • 95