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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.