Are there any ways to determine if the incoming call is roaming whether regional, national, or international? I'm using libphonenumber
to handle some of my call cases but I don't know if it can solve my problem as there is no documentation too.
Asked
Active
Viewed 185 times
1 Answers
0
Use the method isNetworkRoaming():
private final TelephonyManagertelephonyManager = (TelephonyManager) yourContext.getSystemService(Context.TELEPHONY_SERVICE);
telephonyManager.isNetworkRoaming()

Tomás Rodrigues
- 519
- 2
- 17