Is there any way in sdk(default) that can handle dual sims? There are many number of android phones available in market which are dual sim. What i want is programmatically change the default sim. Is it possible?

有帮助吗?

解决方案

As of Android 5.1 Multiple-Sim Support has been officially added to the Android SDK!

You can access information about the current used sim through the SubscriptionManager class.

其他提示

Yes, you can use SubscriptionInfo class for achieving that, here's an answer by me

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top