i have dual sim phone, used below code to send SMS
SmsManager manager = SmsManager.getDefault();
manager.sendTextMessage(number, null, text, null, null);
This always send sms from first SIM card, if i deactivate first SIM card and try above code it does not send SMS only,
any idea how to overcome this issue?