I want to show a notification when a call is active.
I have done the first easy part. Notification starts when my call intent starts.
Now to the tricky part, how can I tell my Notification that the call has ended?
I want to show a notification when a call is active. I have done
Share
You need to register a PhoneStateListener on the TelephonyManager.
To unregister your PhoneStateListener: