Android: detecting the current caller

@Override public void onReceive(Context context, Intent intent) { TelephonyManager telephony = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); PhoneCallStateListener customPhoneListener = new PhoneCallStateListener(context);...

Pin It on Pinterest