Daerik Fisher
Daerik Fisher

Reputation: 293

Android Incoming Call event

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.

Upvotes: 2

Views: 9316

Answers (2)

Abhi
Abhi

Reputation: 9005

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

Example link

Upvotes: 6

MAC
MAC

Reputation: 15847

For that you need to use PhoneStateListener

see this Question you will get idea how to use.

Also try this demo

Upvotes: 3

Related Questions