سؤال

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