I have an Android phone with 2 SIM card and I want to send sms using Sim1 or Sim2.By default the message is sent from sim1. But i want to send sms from sim2. Is it possible to setting to send sms using Sim1 or Sim2?
It would be great if there is an setting options to send sms using Sim1 or Sim2.. this is useful for dual SIM android phones. I created sms application android I've been able to sms application smoothly but default sms sent by SIM 1.But I want to send the sms programmatically by setting to send the sms by sim1 or sim2?
You should check out tasker, you would be able to user it to build a toggle widget for that.
The option is available in Android Settings- navigate to Settings>>Wireless & Networks>>SIM Management>>Default Settings>>Messages>> and select 'Always Ask".
If you can use this code for API level 22+.
Also add permission.
this can be working after 5.1 Lollipop version.before that we need to see more. once i got the answer i will update.