Hi!
I see that a lot of people are trying to access second SIM in dual SIM phones.
I have managed to extract methods from TelephonyManager class. Here are some that indications, where to get information for SIM1 and/or SIM2.
Now it would be great if somehow I was able to call this from B4A. Is this possible?
With regards, Viljem
I see that a lot of people are trying to access second SIM in dual SIM phones.
I have managed to extract methods from TelephonyManager class. Here are some that indications, where to get information for SIM1 and/or SIM2.
Now it would be great if somehow I was able to call this from B4A. Is this possible?
With regards, Viljem
B4X:
public static boolean android.telephony.TelephonyManager.dualGSMPhoneEnable()
public static boolean android.telephony.TelephonyManager.dualPhoneEnable()
public int android.telephony.TelephonyManager.getNetworkType()
public int android.telephony.TelephonyManager.getNetworkTypeExt(int)
public java.lang.String android.telephony.TelephonyManager.getNetworkTypeName()
public java.lang.String android.telephony.TelephonyManager.getNetworkTypeNameExt(int)
public boolean android.telephony.TelephonyManager.isNetworkRoaming()
public boolean android.telephony.TelephonyManager.isNetworkRoamingExt(int)
public java.lang.String android.telephony.TelephonyManager.getSubscriberId()
public java.lang.String android.telephony.TelephonyManager.getSubscriberId(java.lang.String)
public java.lang.String android.telephony.TelephonyManager.getSubscriberIdExt(int)
private com.android.internal.telephony.IPhoneSubInfo android.telephony.TelephonyManager.getSubscriberInfo()
private com.android.internal.telephony.IPhoneSubInfo android.telephony.TelephonyManager.getSubscriberInfoExt(int)