0

I have seen this post from 2012 and it has outdated answers. Until around 2015 Android natively supported multiple sim cards in API 22.

enter image description here

I heard about SubscriptionManager but I am not quite familiar with it, how can I get and dynamically set the currently selected Sim for SMS messages?

jbmcle
  • 771
  • 3
  • 12

1 Answers1

0

If you want to select sim for sending sms only, you can try this post How to send a SMS using SMSmanager in Dual SIM mobile? where you need not interact with android settings but can send sms directly with java code.

  • Hi! Thank you, I don't really like using reflection as there is no guarantee that it will work on every device. – jbmcle May 05 '19 at 05:29