Detect target phone number on incoming call is it for SIM 1 or for SIM 2?
问题 I have an Android phone with 2 SIM card and I want to detect the target of the incoming call — is it for SIM 1 or for SIM 2. Is it possible to get the target number from call info? 回答1: Finally I got the solution using this code. Hope it should helpful for everyone who wants to handle Dual SIM phones. Its working fine for me. Please add below codes in your BroadcastReceiver class: public class IncomingCallInterceptor extends BroadcastReceiver { @Override public void onReceive(Context context,