I am creating an app with minimum sdk version 16.My question is how to get the carrier name of both the carriers in a dual sim phone.
I used this code but it dosenot work with sdk v16
TelephonyManager telephonyManager = ((TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE));
And also I want to get the name of the carrier in string format.
SubscriptionManager
is available in API 22use the following code to get carrier names for dual sim phone