Hello
in android 11 we cant get iccid and os block request.
i found link below that say solved this problem by below code
can help me that how can i use this code in B4A :
link : https://stackoverflow.com/questions/67905747/problems-with-android-11-and-icc
in android 11 we cant get iccid and os block request.
i found link below that say solved this problem by below code
can help me that how can i use this code in B4A :
Java Code for get icc id in android 11:
TelecomManager tm2= (TelecomManager)getSystemService(Context.TELECOM_SERVICE);
Iterator<PhoneAccountHandle> phoneAccounts = tm2.getCallCapablePhoneAccounts().listIterator();
PhoneAccountHandle phoneAccountHandle = phoneAccounts.next();
return phoneAccountHandle.getId().substring(0,19);
link : https://stackoverflow.com/questions/67905747/problems-with-android-11-and-icc