Detecting outgoing call and call hangup event in android
I have a requirement wherein I want to detect two kind of events related to Calls in Android Whenever an outgoing call is made, my application should get to know this along with the called number When the call is hanged up(due to success/failure), my application should get to know this along with the reason of hangup Is this possible in Android? vendor You should create a BroadcastReceiver: public class CallReciever extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (intent.getStringExtra(TelephonyManager.EXTRA_STATE).equals( TelephonyManager.EXTRA